[gdal-dev] Geospatial PDF with OGR_DATASOURCE

Even Rouault even.rouault at mines-paris.org
Wed Jun 6 15:05:08 PDT 2012


Le mercredi 06 juin 2012 23:33:41, Rahkonen Jukka a écrit :
> Even Rouault wrote:
> >> My styled test points are available at
> >> http://latuviitta.org/documents/styled_pdf_points.gml
> > 
> > The link does not work (the domain name has expired apparently), but I've
> 
> > successfully tested it with the following GML file :
> I got the domain name back so the link should work again soon.
> 
> > Did you check that ogrinfo on your GML file reports lines with "Style =
> > SYMBOL(something)" just before the geometry WKT ?
> 
> Oginfo is reporting like this
> 
> OGRFeature(pdf_piste2):0
>   fid (String) = pdf_piste2.0
>   OGR_STYLE (String) = SYMBOL(id:"ogr-sym-1",c:#000000,s:5)
>   Style = SYMBOL(id:"ogr-sym-1",c:#000000,s:5)
>   POINT (380530.90923728806 6677521.4394915262)
> 
> Data was as shapefile first and I converted it into GML with ogr2ogr. May
> have some little troubles with character encoding (shapefile must have
> been iso-8859-1) but ogrinfo does not look bad for me.

I've downloaded 
http://www.gisinternals.com/sdk/Download.aspx?file=release-1500-gdal-
mapserver.zip and used it successfully to convert your file.

> 
> -Jukka-
> 
> > Even
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list