Something like the following might get you started (note: limited testing and
I'm no programmer :)
#buffer.py
import sys,os
from osgeo import ogr
def buffer(infile,outfile,buffdist):
try:
ds=ogr.Open(infile)
drv=ds.GetDriver()
if os.path.exists(outfile):
On Thu, Apr 23, 2009 at 4:07 AM, Roger André wrote:
> Hi Brent,
>
> Unfortunately the data is already out of Postgres, so I don't have that
> option anymore. I was hoping there might be some way of invoking a geos
> function in ogr2ogr.
>
> Thanks though,
>
> Roger
> --
>
>
> On Wed, Apr 22, 20
Even Rouault wrote:
Hi
Although I agree that the goal of fast opening is a good idea, as discussed on
IRC, I'm not sure we need this RFC for the current work plan it contains :
* listing the files in the directory can already be skipped by defining
GDAL_DISABLE_READDIR_ON_OPEN=YES. But perhaps
Ciao Tim,
you should probably post these questions to the geoserver users mailing list.
Simone.
---
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax:
Hi Brent,
Unfortunately the data is already out of Postgres, so I don't have that
option anymore. I was hoping there might be some way of invoking a geos
function in ogr2ogr.
Thanks though,
Roger
--
On Wed, Apr 22, 2009 at 2:25 PM, wrote:
>
> Yep.
>
> In your ogr2ogr query string query try
>
Yep.
In your ogr2ogr query string query try
"select buffer(area, nn.nn) as geom from table where...;"
PostGIS will buffer it before sending it to GDAL for export to shapefile.
Or if you are repeatedly doing this, create a view in PostGIS with the buffer,
& select this with GDAL, whichever sui
Hi
Although I agree that the goal of fast opening is a good idea, as discussed on
IRC, I'm not sure we need this RFC for the current work plan it contains :
* listing the files in the directory can already be skipped by defining
GDAL_DISABLE_READDIR_ON_OPEN=YES. But perhaps this could benefit fr
+1 for Ubuntu
I too have been using Ubuntu 8.04 (Hardy) to compile and run GIS apps & libs
(grass, gdal, qgis, geos, proj, etc) and have had no problems at all.
On Wed, Apr 22, 2009 at 9:55 AM, Roger André wrote:
> I have been running a fairly complete open source GIS stack on a couple of
> Ubu
Folks,
I have drafted a preliminary version of a new RFC for discussion.
http://trac.osgeo.org/gdal/wiki/rfc25_fast_open
Feedback is welcome.
Best regards,
--
---+--
I set the clouds in motion - turn up | Frank Warmerd
As an institution, we prefer Fedora, although I have little experience of
it myself. It is widely supported by commercial applications, as well as
open source. I have built GDAL for Cygwin (not my primary platform, I
hasten to add!) with only issues surrounding Xerces that I have not been
able
On Wed, Apr 22, 2009 at 4:24 PM, Gong, Shawn (Contractor)
wrote:
> hi list,
>
> I’d appreciate suggestions on Linux OS. We’d like to build newest gdal, as
> well as OpenEV2 using GTK2.
>
> Have tried CentOS. But it libraries seem too conservative.
I am (meanwhile) a long term Mandriva user meanwh
I have been running a fairly complete open source GIS stack on a couple of
Ubuntu 8.04 machines for about 6 months. I have had no problems getting
anything installed from source on them, and use the supporting libs that are
available via apt-get almost exclusively. If anyone wants to see the
prog
Hi All,
I'm trying to port some of my existing PostGIS based workflow to ogr
utilities and shapefiles. Is it possible to buffer a feature that I've
selected via the ogr2ogr "-where" clause? I'd like end up with a single,
buffered feature in a stand-alone shapefile when I'm done.
Thanks,
Roger
Hi.
I suggest you look at OpenSuse. That's my preferred FOSS GIS platform for a few
years now.
The guys that maintain the OpenSUuse GIS repository are really efficient &
helpful. The couple of times I've wanted an updated package there I've emailed
them & it's been done in a couple of days.
Hello,
I'm having trouble getting an image warped properly using GCPs. I'm
wondering if I'm missing a piece in my code.
Here I am warping from an image with a presumably unknown projection to
a georeferenced reference image. The images have been registered
either manually or automatically
Shawn:
> > I'd appreciate suggestions on Linux OS. We'd like to build
> > newest gdal, as well as OpenEV2 using GTK2.
> > Have tried CentOS. But it libraries seem too conservative.
> > Is Fedora 9 a better choice?
John D:
> I'm building the latest gdal (literally as I type!), on Kubuntu Hardy
I'm building the latest gdal (literally as I type!), on Kubuntu Hardy
with no problems so far.
-JD
> -Original Message-
> From: gdal-dev-boun...@lists.osgeo.org
> [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Gong,
> Shawn (Contractor)
> Sent: 22 April 2009 15:24
> To: gdal-de
hi list,
I'd appreciate suggestions on Linux OS. We'd like to build newest gdal,
as well as OpenEV2 using GTK2.
Have tried CentOS. But it libraries seem too conservative.
Is Fedora 9 a better choice?
thanks,
Shawn
___
gdal-dev mailing list
gdal-dev@
Hi christian
many thanks for your help, i will run this later on today/overnight :)
I saw that Geoserver tutorail using the database to store the files but
think i will stick with using just files.
will postback later on if and when i get it all running
thanks again
Tim
Christian Müller wr
19 matches
Mail list logo