[gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-05-28 Thread klo uo
Hi, I have vector data in PDF format, which I tried to georeference with org2ogr -gcp feature and output basic Shapefile, but program complains that it's unable to read the PDF file, which I confirm as valid by processing it with ghostscript. I then converted PDF to SVG and confirmed that SVG is

Re: [gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-05-28 Thread klo uo
Ok, thanks for your confirmation. I'll go DXF route. In the meantime I found that by using pstoedit for conversion from PDF to DXF is the right choice. On Wed, May 28, 2014 at 11:34 PM, Even Rouault wrote: > Le mercredi 28 mai 2014 23:06:38, vous avez écrit : > > Hi Even, > > > > thanks for y

Re: [gdal-dev] ogr2ogr: Unable to open datasource [SVG, PDF] with the following drivers

2014-05-31 Thread klo uo
, Klo On Thu, May 29, 2014 at 12:24 AM, klo uo wrote: > Ok, thanks for your confirmation. > > I'll go DXF route. > In the meantime I found that by using pstoedit for conversion from PDF to > DXF is the right choice. > > > > On Wed, May 28, 2014 at 11:34 PM, Eve

[gdal-dev] Passing Unicode data to MSSQL-server

2014-06-02 Thread klo uo
Hi, while trying to export UTF-8 encoded geojson to mssql-server, I get columns with wrongly encoded text. `ogr2ogr` sets these columns to type `varchar` which represent single byte strings (ANSI), while for "Unicode" strings the type should be `nvarchar`. That "Unicode" is UTF-16LE and mssql-ser

[gdal-dev] gdal2tiles from vrt with unexpected result

2014-06-16 Thread klo uo
Hi, I tried to use gdal2tiles on a VRT generated from JPG images (which a btw 256 x 256 pixel tiles themselves) I double checked VRT with gdal_translate to crop part of it and got expected result. When I use gdal2tiles, i.e.: `gdal2tiles.py -p raster -z 2 mosaic.vrt` I get as a result 256px tiles

Re: [gdal-dev] gdal2tiles from vrt with unexpected result& In-Reply-To=

2014-06-17 Thread klo uo
Here is VRT header and one "simplesource" node just in case: PROJCS["Bessel_1841_Transverse_Mercator", GEOGCS["GCS_Bessel_1841", DATUM["D_Bessel_1841", SPHEROID["Bessel_1841",6377397.155,299.1528128]], PRIMEM["Greenwich

[gdal-dev] Re-projecting with valid geometry

2014-09-06 Thread klo uo
Hi, I have PostGIS table with multipolygon geometry column of ~2000 features with valid geometries. Most are single polygons. These were originally in 900914 projection. I tried to re-project to 4326, first with org2ogr then with PostGIS's ST_Transform() function. In both cases I get results wit

Re: [gdal-dev] Re-projecting with valid geometry

2014-09-06 Thread klo uo
Thanks Even,that's great solution. Now, although ST_IsValid() doesn't report any more problems, QGIS "Check geometry validity" still finds issues on 3 features. I also tried ArcMap's "Check Geometry" function, and it found 2 "self intersections". Features reported by QGIS and ArcMap are different

[gdal-dev] netCDF: use spatial variables instead dummy dimensions

2014-09-26 Thread klo uo
Hi, I want to convert netCDF dataset to GeoTiff with gdal_translate. My netCDF dataset contains data in projected coordinates, so (x, y) grid dimensions are just dummy enumerated grid values. However dataset contains (lon, lat) spatial mesh variables, matching each (x, y) pair to be able to provid