Re: [gdal-dev] convert linestring to point data

2013-01-31 Thread Tyler Mitchell
Just a brief follow up for posterity on the list... I've completed my first run of updates on this script and it's looking pretty good. Others welcomed to give feedback :) It's been modularised now and also allows you to enter a field name to take the Z value from. So Murat, it does everythin

Re: [gdal-dev] problems converting gdb to shp

2013-01-31 Thread Even Rouault
Le jeudi 31 janvier 2013 21:49:03, Tyler Mitchell a écrit : > Hi Sarah, > > Be sure to quote "ESRI Shapefile" or it will use "shapefile" as the output > filename. > > Since Shapefile is default, you can remove the -f ... stuff altogether to > simplify. > > As far as I can tell that's your main p

Re: [gdal-dev] dxf linewidth

2013-01-31 Thread Even Rouault
Le jeudi 31 janvier 2013 11:22:48, Marco Hugentobler a écrit : > Hi Even > > Ok, done (http://trac.osgeo.org/gdal/ticket/4978). > > One thing that I did not do in the patch ( and should probably be done) > is considering the symbology units. I saw that it is possible to query > the unit type of t

Re: [gdal-dev] problems converting gdb to shp

2013-01-31 Thread Tyler Mitchell
Hi Sarah, Be sure to quote "ESRI Shapefile" or it will use "shapefile" as the output filename. Since Shapefile is default, you can remove the -f ... stuff altogether to simplify. As far as I can tell that's your main problem there. I don't have a GDB install to test against though. Tyler

[gdal-dev] problems converting gdb to shp

2013-01-31 Thread Sarah Zatko
I'm trying to use the -where command in ogr2ogr (1.9.0) to separate out different geometry types, as was described in the FAQ for converting gdb to shp files, but when I do the following command Ogr2ogr.exe -f ESRI Shapefile points.shp input.gdb -a_srs EPSG:4326 -nln points -where 'ogr_geometry

Re: [gdal-dev] convert linestring to point data

2013-01-31 Thread Tyler Mitchell
Hi Murat, I put together a PYthon script that uses OGR, just for you actually :) https://github.com/spatialguru/NME/blob/master/ogr_explode.py Run it like: python ogr_explode.py e34c3_line.shp output.csv It doesn't automatically create a shape file but you can convert from CSV to a shapefil

Re: [gdal-dev] Anyone tried using ogr2ogr on a remote MySQL db?

2013-01-31 Thread Muskie
Jeff -- thanks! Look forward to it when you get to it. This has been a bit of a frustrating road bump! -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Anyone-tried-using-ogr2ogr-on-a-remote-MySQL-db-tp5030802p5031230.html Sent from the GDAL - Dev mailing list archive at Nab

Re: [gdal-dev] convert linestring to point data

2013-01-31 Thread Even Rouault
Selon Murat BEYHAN : > Dear All, > > I would like to convert linestring shape (.shp) file into point shape (.shp) > file using gdal. Is this made by gogr2ogr > > ogr2ogr -f "ESRI Shapefile" -nlt POINT e34c3_point.shp e34c3_line.shp > I have tried this but it gives an error > Please How can I do u

[gdal-dev] convert linestring to point data

2013-01-31 Thread Murat BEYHAN
Dear All, I would like to convert linestring shape (.shp) file into point shape (.shp) file using gdal. Is this made by gogr2ogr ogr2ogr -f "ESRI Shapefile" -nlt POINT e34c3_point.shp e34c3_line.shp I have tried this but it gives an error Please How can I do using command I do this using qgis b

Re: [gdal-dev] Any more GDAL WMS examples?

2013-01-31 Thread Carl Godkin
After a day with no progress, I found an old answer to a similar question here: http://comments.gmane.org/gmane.comp.gis.gdal.devel/27163 I think I'm on my way now. I see that I should leave the frmt_wms_XXX.xml files alone, and use the -projwin mechanism to get what I need. Sorry to waste the

Re: [gdal-dev] Any more GDAL WMS examples?

2013-01-31 Thread Even Rouault
Selon Carl Godkin : > Hi again, > > I am still trying to come up to speed on WMS using GDAL 1.9.2 and am > interested in some examples beyond what are > posted at the bottom of http://www.gdal.org/frmt_wms.html . > > I can run the various gdal_translate examples and some of them even work. > (All

[gdal-dev] Any more GDAL WMS examples?

2013-01-31 Thread Carl Godkin
Hi again, I am still trying to come up to speed on WMS using GDAL 1.9.2 and am interested in some examples beyond what are posted at the bottom of http://www.gdal.org/frmt_wms.html . I can run the various gdal_translate examples and some of them even work. (All of them need to be adjusted since

Re: [gdal-dev] Compile Gdal 1.9 with "WIN64=YES" setting

2013-01-31 Thread Livneh Yehiyam
Hi >From the path of the VS compiler below, it seems that you are using the 32 bit >compiler. To compile for x64 you need to use the amd64 compiler. Yehiyam -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of netcadturgay Sen

[gdal-dev] Compile Gdal 1.9 with "WIN64=YES" setting

2013-01-31 Thread netcadturgay
I have build errors when I try to build to the Gdal 1.9 library for 64 bits. How can I solve this problem? Or how can I build the gdal for 64 bits? Thanks for your helps Error: Creating library gdal_i.lib and object gdal_i.exp LINK : error LNK2001: unresolved external symbol OGRFeatureStylePull

Re: [gdal-dev] dxf linewidth

2013-01-31 Thread Marco Hugentobler
Hi Even Ok, done (http://trac.osgeo.org/gdal/ticket/4978). One thing that I did not do in the patch ( and should probably be done) is considering the symbology units. I saw that it is possible to query the unit type of the OGRStylePen. Is it possible to define e.g. the dpi in the featurestyle s