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

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
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

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

2012-07-23 Thread Smith, Michael ERDC-CRREL-NH
= 12682608949 (note that I removed some alter table lines for clarity) Mike On 7/23/12 9:16 AM, Smith, Michael ERDC-CRREL-NH michael.sm...@usace.army.mil wrote: 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

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 michael.sm...@usace.army.mil wrote: EvenR, This is GDAL trunk. I will check with --debug on. Mike On 7/13/12 6:19 AM, Even Rouault even.roua...@mines-paris.org wrote: Selon

[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

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 jennings@geoeye.commailto:jennings@geoeye.com Date: Tuesday, April 17, 2012 6:11 PM To: gdal-dev@lists.osgeo.orgmailto:gdal-dev@lists.osgeo.org

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 dmburg...@linktechs.netmailto:dmburg...@linktechs.net Date: Mon, 16 Jan 2012 17:11:09 -0600 To:

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

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

[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

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

Re: [gdal-dev] FGDB Opening Sample File

2011-04-29 Thread Smith, Michael ERDC-CRREL-NH
Ramsey pram...@opengeo.org 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 michael.sm...@usace.army.mil wrote: Relations are joins to non-spatial

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 even.roua...@mines-paris.org wrote: Le jeudi 28 avril 2011 02:11:30, Paul Ramsey

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 pei...@gmx.eu

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 even.roua...@mines-paris.org wrote: Le mardi 12 avril 2011

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

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

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 raj...@gmail.com wrote: Hi list, is it possile to import and

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 jukka.rahko...@mmmtike.fi wrote: Hi, Short question: I cannot get ogr2ogr to