Re: [gdal-dev] Missing EPSG Codes and importFromUrl

2012-02-02 Thread Andy Cheetham
You could try our website the GeoRepository.com It will provide you with all the details of the CRS in question http://georepository.com/search/by-name/?query=4418 Hope this helps Andy Cheetham On 2 Feb 2012 23:33, "David Baker (Geoscience)" wrote: > All, > > > > Working in C#... I have nee

Re: [gdal-dev] Missing EPSG Codes and importFromUrl

2012-02-02 Thread Jean-Claude Repetto
On 02/03/12 00:31, David Baker (Geoscience) wrote: All, Working in C#... I have need for EPSG:4418. Per http://www.epsg-registry.org/ this is the code for “ProjectedCRS [NAD27 / BLM 18N (ftUS)]”. This code does not seem to be in the GDAL/OGR/Prog4 database in FWTools2.4.7. Executing the line: v

[gdal-dev] Re: Extract OSM data from PostGIS using OGR

2012-02-02 Thread Jukka Rahkonen
Travis Kirstine gmail.com> writes: > > Is it possible to extract features from a OSM PostGIS / Postgres > database (loaded with osm2pgsql)? For sure. The osm_point, osm_line and osm_polygon tables are normal spatial tables which can be read with GDAL Postgis driver http://gdal.org/ogr/drv_pg.h

[gdal-dev] Updates/improvements to GDAL's OziExplorer driver?

2012-02-02 Thread Paul Jacobson
Hi, I've been attempting to use GDAL's Ozi driver to convert .map/.ozfx3 pairs into GeoTiff format but have been stymied by the limitations of the existing Ozi driver. The maps I'm trying to convert use the Australian standard GDA94/UTM and it appears the current Ozi driver does not support th

Re: [gdal-dev] Web site downtime

2012-02-02 Thread Nikolaos Hatzopoulos
Now you start realizing why enterprise linux exists :) --Nikos On Wed, Feb 1, 2012 at 5:22 PM, Frank Warmerdam wrote: > Folks, > > The OSGeo ProjectsVM is down while we upgrade the OS (an upgrade > that has encountered some issues). While this is being resolved the > hosted sites including gda

Re: [gdal-dev] GDALEndAsyncReader() takes long time to return

2012-02-02 Thread Frank Warmerdam
On Thu, Feb 2, 2012 at 3:49 PM, Robert Zermeno wrote: > I am trying to stream JPIPs. I have two threads that are accessing the > same file using the same GDALfiledataset. One thread is a subsample image > used as a navigator and the other thread is the full-sized image for the > viewer to see t

[gdal-dev] GDALEndAsyncReader() takes long time to return

2012-02-02 Thread Robert Zermeno
I am trying to stream JPIPs.  I have two threads that are accessing the same file using the same GDALfiledataset.  One thread is a subsample image used as a navigator and the other thread is the full-sized image for the viewer to see the full image.   Each thread uses its own GDALAsyncReaderH Ob

[gdal-dev] Missing EPSG Codes and importFromUrl

2012-02-02 Thread David Baker (Geoscience)
All, Working in C#... I have need for EPSG:4418. Per http://www.epsg-registry.org/ this is the code for "ProjectedCRS [NAD27 / BLM 18N (ftUS)]". This code does not seem to be in the GDAL/OGR/Prog4 database in FWTools2.4.7. Executing the line: var i = src.ImportFromEPSG(4418); This call ret

Re: [gdal-dev] "Cannot open existing output data source" error writing to GML

2012-02-02 Thread Frank Warmerdam
Donovan, The problem is that the GML driver does not support "in place" update or append support for GML files. So you can't use the -update -append options of ogr2ogr with an output GML file. Instead you will need to collect your input files into one output file in another format that does supp

[gdal-dev] "Cannot open existing output data source" error writing to GML

2012-02-02 Thread Donovan Cameron
Afternoon List! I am trying to batch merge several GML files but get the following error: *Cannot open existing output data source: output.gml* I can read the file fine with "*ogrinfo output.hml output -so*" and everything looks normal. I am able to perform the operation successfully without err

[gdal-dev] Extract OSM data from PostGIS using OGR

2012-02-02 Thread Travis Kirstine
Is it possible to extract features from a OSM PostGIS / Postgres database (loaded with osm2pgsql)? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] change the attribute values of a shapefile

2012-02-02 Thread Etienne Tourigny
You can use valrepl.py script to make a copy of your image with new values. http://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/val_repl.py Or if you really want to edit the shapefile afterwards, try out the OGR python bindings, but you would need to write your script. Etienne On Thu, Feb 2

[gdal-dev] change the attribute values of a shapefile

2012-02-02 Thread Xiaodong Zhang
Hi, I'm just wondering if any of you has done and would like to share your experience in replacing the attribute values of a shape file. Here is what I'm doing: 1. I have an image with pixels values ranging from, say, 1, 2, 3 and 4 2. I used gdal_polygonize.py to convert t

Re: [gdal-dev] Does GDAL has DXF/DWG read/write functionality for WINCE platform

2012-02-02 Thread Chaitanya kumar CH
Radha, OGR's AutoCAD drivers have limited functionality. The DXF driver is compiled by default. So if you are planning on using GDAL/OGR you can just compile the GDAL source for WinCE and confirm that DXF is included by looking at the build log. Since you are going to use only AutoCAD formats, you

Re: [gdal-dev] read a catalog is slower then directly the raster ?

2012-02-02 Thread Dmitry Baryshnikov
02.02.2012 18:44, Even Rouault пишет: We have discussed this problem with Even. I'll fix it. The work is in process. Dmitry, See the answer I've just posted, but there's no evidence that Andrea is running into the performance problems related to wrapped VRT. The VRTs produced by gdalbuildvrt ha

Re: [gdal-dev] read a catalog is slower then directly the raster ?

2012-02-02 Thread Even Rouault
> We have discussed this problem with Even. I'll fix it. The work is in > process. Dmitry, See the answer I've just posted, but there's no evidence that Andrea is running into the performance problems related to wrapped VRT. The VRTs produced by gdalbuildvrt have no rotation. gdalbuildvrt only ac

Re: [gdal-dev] read a catalog is slower then directly the raster ?

2012-02-02 Thread Even Rouault
> I try to create the overview, but it is really sloow . > After 1hours is to 0%. Well, given the size of the tile whose XML description you gave, I'm not that surprised it would be very long, if you have lots of similar ones in your VRT. But after one hour, this is indeed not a good sign that th

Re: [gdal-dev] read a catalog is slower then directly the raster ?

2012-02-02 Thread Dmitry Baryshnikov
02.02.2012 18:10, Andrea Peri ?: 2012/2/2 Even Rouault > Selon Andrea Peri mailto:aperi2...@gmail.com>>: > Hi, > > Unfortunately I was unable to test with GDB. > My skill was not enough :( Well, provided you have gdb installed

Re: [gdal-dev] read a catalog is slower then directly the raster ?

2012-02-02 Thread Andrea Peri
2012/2/2 Even Rouault > Selon Andrea Peri : > > > Hi, > > > > Unfortunately I was unable to test with GDB. > > My skill was not enough :( > > Well, provided you have gdb installed, it is "just" a matter of : > > 1) "gdb qgis" > 2) in the gdb console, type "run" and validate > 3) when qgis is slow

Re: [gdal-dev] read a catalog is slower then directly the raster ?

2012-02-02 Thread Even Rouault
Selon Andrea Peri : > Hi, > > Unfortunately I was unable to test with GDB. > My skill was not enough :( Well, provided you have gdb installed, it is "just" a matter of : 1) "gdb qgis" 2) in the gdb console, type "run" and validate 3) when qgis is slow, switch to the console with gdb and hit Ctrl

Re: [gdal-dev] read a catalog is slower then directly the raster ?

2012-02-02 Thread Andrea Peri
Hi, Unfortunately I was unable to test with GDB. My skill was not enough :( However I try other ways. I will use a utility to test the disk activity and after put the qgis canvas on a little portion of land covered I add the catalog.vrt. Using this utility I can see that qggis try to open all th

[gdal-dev] Does GDAL has DXF/DWG read/write functionality for WINCE platform

2012-02-02 Thread radha rani
Hi , Iam developing a project which writes DXF/DWG files on WinCE Platform,Does GDAL has DXF/DWG read/write functionality for WINCE platform, Please let me know as soon as possible ,Kindly suggest me is there any other alternatives which survives my requirement i.e Writing/Reading DXF/DWG file

Re: [gdal-dev] Re: delete feature without fid

2012-02-02 Thread Even Rouault
Imran, I would have pointed you to http://gdal.org/java for the Javadoc , but the website is currently down, so I give you a summary of what you'll find : - To retrive the FID of a feature, yes, you need to use Feature.GetFID() - Feature.delete() should not be called under normal circumstances. N