Re: [gdal-dev] GDAL/OGR 1.10.0 Beta1 Question

2013-01-22 Thread Smith, Michael ERDC-CRREL-NH
The EXIF metadata is data from Digital Cameras (see http://en.wikipedia.org/wiki/Exchangeable_image_file_format). This changes just puts the metadata in a specific domain. Mike -- Michael Smith US Army Corps Remote Sensing GIS/Center On 1/22/13 3:13 PM, "reina...@geodesign.com.br" wrote: >

Re: [gdal-dev] Convert kml to Shapefile and conserve polygon's colors with Ogr2Ogr

2012-10-22 Thread Smith, Michael ERDC-CRREL-NH
Wael, First, make sure you are using the libkml driver and not the kml driver. The libkml driver can read the style information. Then you can get that information in your shapefile by specifically requesting the ogr_style column. Try adding -sql 'select *, ogr_style as style from Layer0' Mike

Re: [gdal-dev] OSM Driver and World Planet file (pbf format)

2012-07-23 Thread Smith, Michael ERDC-CRREL-NH
tween = 50006 OSM: nNodeSelectIn = 94362 VSI: ~VSIUnixStdioFilesystemHandler() : nTotalBytesRead = 12682608949 (note that I removed some alter table lines for clarity) Mike On 7/23/12 9:16 AM, "Smith, Michael ERDC-CRREL-NH" wrote: >Even, > >It stopped cleanly (no segfault)

Re: [gdal-dev] OSM Driver and World Planet file (pbf format)

2012-07-23 Thread Smith, Michael ERDC-CRREL-NH
Even, It stopped cleanly (no segfault) at 70%. OS is RHEL 6.2 64 bit. Import time was about 340 min. Command was ogr2ogr -progress -f oci oci:user/pass@tns:tmp planet-latest.osm.pbf -lco dim=2 -lco srid=4326 -lco geometry_name=geometry -lco launder=yes I'm rerunning now with the debug log to a

Re: [gdal-dev] Problem reading shapefile via /vsizip

2012-07-13 Thread Smith, Michael ERDC-CRREL-NH
Ticket created http://trac.osgeo.org/gdal/ticket/4748 Mike On 7/13/12 6:30 AM, "Smith, Michael ERDC-CRREL-NH" wrote: >EvenR, > >This is GDAL trunk. > >I will check with --debug on. > >Mike > > > >On 7/13/12 6:19 AM, "Even Rouault&

Re: [gdal-dev] Problem reading shapefile via /vsizip

2012-07-13 Thread Smith, Michael ERDC-CRREL-NH
EvenR, This is GDAL trunk. I will check with --debug on. Mike On 7/13/12 6:19 AM, "Even Rouault" wrote: >Selon "Smith, Michael ERDC-CRREL-NH" : > >Michael, > >Do you use GDAL trunk, or 1.9.X ? It might be possible that fixes for >subtle >bugs co

[gdal-dev] Problem reading shapefile via /vsizip

2012-07-11 Thread Smith, Michael ERDC-CRREL-NH
Reading a zipped shapefile (with 4 shapefiles in it) via vsicurl and vsizip ogrinfo /vsizip//vsicurl/http://www.srh.noaa.gov/images/shv/shp/Day1_Conv_Outlook/Day1_Conv_Outlook.latest.zip -ro CATEGORICAL Layer name: CATEGORICAL Geometry: Polygon Feature Count: 1 Extent: (-119.60, 24.217000) -

Re: [gdal-dev] DBF indexing?

2012-04-25 Thread Smith, Michael ERDC-CRREL-NH
CREATE INDEX Some OGR SQL drivers support creating of attribute indexes. Currently this includes the Shapefile driver. An index accelerates very simple attribute queries of the form fieldname = value, which is what is used by the JOIN capability. To create an attribute index on the nation_id field

Re: [gdal-dev] gdal_translate crash on certain filenames

2012-04-17 Thread Smith, Michael ERDC-CRREL-NH
Looks like its a specific driver getting in the way http://trac.osgeo.org/gdal/ticket/4390 M From: Jay Jennings mailto:jennings@geoeye.com>> Date: Tuesday, April 17, 2012 6:11 PM To: "gdal-dev@lists.osgeo.org" mailto:gdal-dev@lists.osgeo.org>> Subject: [gdal

Re: [gdal-dev] End User Questions :( KML Raster to Shapefile

2012-01-16 Thread Smith, Michael ERDC-CRREL-NH
Dennis, ogr2ogr can convert a kml file to a shapefile if built with the kml or libkml drivers (I recommend the libkml driver, it offers many more features). Mike From: Dennis Burgess mailto:dmburg...@linktechs.net>> Date: Mon, 16 Jan 2012 17:11:09 -0600 To: mailto:gdal-dev@lists.osgeo.org>> S

Re: [gdal-dev] Extract centroids

2011-11-03 Thread Smith, Michael ERDC-CRREL-NH
This may not be the simplest way but you could use mapserver to draw the polygon layer as a point layer (at the centroids) and then use the wfs export format capability to export back to shapefile. Mike -- Michael Smith US Army Corps Remote Sensing GIS/Center From: Chaitanya kumar CH mailto:ch

Re: [gdal-dev] OGR FileGDB driver: Failed at creating table ... (General function failure.)

2011-09-15 Thread Smith, Michael ERDC-CRREL-NH
I've run into this. It seems to be that there are only certain projections that are supported in FileGDB. I tried to convert data in to the Spherical Mercator projection and none of the projections I used (either epsg, esri epsg, or esri wkt) would work. I believe that Even R. determined that it wa

RE: [gdal-dev] FileGDB OGR driver test

2011-07-30 Thread Smith, Michael ERDC-CRREL-NH
It is prefork [msmith@linux_wms_bm ~]$ httpd -V Server version: Apache/2.2.15 (Unix) Server built: Jul 23 2010 05:08:08 Server's Module Magic Number: 20051115:24 Server loaded: APR 1.4.2, APR-Util 1.3.9 Compiled using: APR 1.4.2, APR-Util 1.3.9 Architecture: 64-bit Server MPM: Prefork t

Re: [gdal-dev] FileGDB OGR driver test

2011-07-14 Thread Smith, Michael ERDC-CRREL-NH
Peter, In this case, the OSM data came from Cloudmade shapefiles for Colorado Highways and I converted it to a FileGDB using v10 ArcCatalog. -- Mike Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 7/14/11 2:58 AM, "Peter Halls" wrote: >Jeff, > > how was the OSM da

Re: [gdal-dev] FileGDB OGR driver test

2011-07-13 Thread Smith, Michael ERDC-CRREL-NH
Or anyone to download and test, just so its clear. Mike -- Mike Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 7/13/11 3:05 PM, "Smith, Michael ERDC-CRREL-NH" wrote: >Yes, it is ok for you to download and test. This is OSM data that I >created usi

Re: [gdal-dev] FileGDB OGR driver test

2011-07-13 Thread Smith, Michael ERDC-CRREL-NH
Yes, it is ok for you to download and test. This is OSM data that I created using ArcCatalog 10. Jeff also has a layer of US States that I created from OGR. It did have the extents. Mike -- Mike Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 7/13/11 2:54 PM, "Paul R

[gdal-dev] GDAL/OGR projection problem only with epsg:3785/900913

2011-07-01 Thread Smith, Michael ERDC-CRREL-NH
All, I¹m using GDAL (1.9dev r22508) and getting errors only when reprojecting (raster or vector) to any of the Google Mercator projections. On a number of linux boxes I have, this works fine, but, on a couple its a problem. The only difference on the problem boxes that I can see is that they have

RE: [gdal-dev] LoadLayers (FGDB)

2011-05-06 Thread Smith, Michael ERDC-CRREL-NH
I can also supply more FGDB's with different types of layers, numbers, binary attachments, etc. Let me know if there is a specific type or types of layers/feature classes/feature datasets you need. Mike -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@l

Re: [gdal-dev] FGDB Opening Sample File

2011-04-29 Thread Smith, Michael ERDC-CRREL-NH
, "Paul Ramsey" wrote: > Are they tables or links between tables? I can see this is going to > be a hard project to do without ArcGIS handy :) > > P. > > On Thu, Apr 28, 2011 at 10:26 AM, Smith, Michael ERDC-CRREL-NH > wrote: >> Relations are joins to non-spatia

Re: [gdal-dev] FGDB Opening Sample File

2011-04-28 Thread Smith, Michael ERDC-CRREL-NH
Relations are joins to non-spatial tables containing domain values etc. They are relational tables. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 4/28/11 1:19 PM, "Even Rouault" wrote: > Le jeudi 28 avril 2011 02:11:30, Paul Ramsey a écrit : >> >> I assume

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Smith, Michael ERDC-CRREL-NH
I have a test v10 filegdb with points, lines, polygons (all with Z and M but I think the measures aren't populated). There are also some non geometry tables and some relationship classes. Its available at http://12.189.158.78:8081/downloads/test_fgdb.gdb.zip Mike -- Michael Smith Remote Sens

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Smith, Michael ERDC-CRREL-NH
Even, How do you configure gdal/ogr to build with the linux api? I'm working on getting some example datasets together. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 4/12/11 2:28 PM, "Even Rouault" wrote: > Le mardi 12 avril 2011 19:08:24, Hermann Peifer a

Re: [gdal-dev] Re: FileGDB OGR driver test

2011-04-12 Thread Smith, Michael ERDC-CRREL-NH
Hermann, You can use the FileGDB driver with Linux. The FileGDB api has been available on Linux since Beta 2. I plan to do some testing in the next couple of days. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 4/12/11 1:08 PM, "Hermann Peifer" wrote: > On

Re: [gdal-dev] RFC28 OGR SQL Expressions now in trunk

2010-09-14 Thread Smith, Michael ERDC-CRREL-NH
Frank, I was testing accesing the OGR_STYLE value from a kmz file using the LIBKML driver. Previously this had worked. u4rt9...@maps:/htdocs/dhs/marine$ ogr2ogr -f OCI oci:"user/p...@tns:marinetest MarineTraffic.kmz -nln MArineTest3 -lco dim=2 -lco srid-8265 -lco launder=yes -lco precision=no -sq

Re: [gdal-dev] export SDO to SHP?

2010-05-26 Thread Smith, Michael ERDC-CRREL-NH
ogr2ogr -f "ESRI Shapefile" some_shapefile.shp OCI:user/p...@tns:schema.table_name Will do just that. Mike -- Michael Smith US Army Corps of Engineers Remote Sensing/GIS Center Hanover, NH On 5/26/10 1:53 AM, "Imran Rajjad" wrote: > Hi list, > > is it possile to import and SDO table in

Re: [gdal-dev] Why does OCI driver fail with SRID?

2009-11-30 Thread Smith, Michael ERDC-CRREL-NH
Jukka, To set the SRID when loading to Oracle, you have to use the layer creation option -lco srid=2393 Mike -- Michael Smith RSGIS Center US Army Corps of Engineers On 11/30/09 7:25 AM, "Jukka Rahkonen" wrote: > Hi, > > Short question: I cannot get ogr2ogr to co-operate with me and Or