Re: [gdal-dev] OGR GML writer dataset creation options not working

2013-04-03 Thread Matt Langley
I also should note, that when trying to apply mutliple -dsco options I have used this syntax: ogr2ogr -f GML test.gml shape_folder -dsco PREFIX=tst -dsco TARGET_NAMESPACE=http://tst.com.au/ In the case above neither the PREFIX or TARGET_NAMESPACE seem to get set in the output. -- View this mes

[gdal-dev] OGR GML writer dataset creation options not working

2013-04-03 Thread Matt Langley
I'm trying to convert some shapefiles to GML using both ogr2ogr and python code. In both cases I'm having trouble making the 'dataset creation options' work preoperly. Setting the XSISCHEMAURI seems to work. i.e /ogr2ogr -f GML test.gml shape_folder -dsco XSISCHEMAURI=http:\\mytest.com/ If I set

Re: [gdal-dev] Writing a GML file containing multiple layers

2013-04-03 Thread Matt Langley
Thanks Even, The 10 char limit on fields names with shapefiles is a problem in my case. So I will try the VRT format as you have suggested. Are shapefile and VRT the only formats that can be represented as a multi layer datasource? Again - thanks for your help. -- View this message in context