Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-04 Thread Joaquim Luis
Brent Fraser wrote: User error. I had to turn on the Tools -> Analysis -> Geospatial Location Tool to get the scrolling Lat/Lon. That's right, thanks Joaquim ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-04 Thread Brent Fraser
User error. I had to turn on the Tools -> Analysis -> Geospatial Location Tool to get the scrolling Lat/Lon. Brent Fraser wrote: Interesting. I downloaded it with Firefox, opened it in Acrobat 9, but it doesn't recognize it as a GeoPDF. Hmmm... Joaquim Luis wrote: Brent Fraser wrote: S

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-04 Thread Brent Fraser
Interesting. I downloaded it with Firefox, opened it in Acrobat 9, but it doesn't recognize it as a GeoPDF. Hmmm... Joaquim Luis wrote: Brent Fraser wrote: Since the TerraGo way has been superceded by the Adobe/ISO way (thank goodness!), it makes it easier to identify the reference system

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Joaquim Luis
Brent Fraser wrote: Since the TerraGo way has been superceded by the Adobe/ISO way (thank goodness!), it makes it easier to identify the reference system definition in GDAL, so there may be some hope for GDAL and GeoPDF. Still on this matter, the GeoPDF http://www.terragotech.com/blog/quad

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Joaquim Luis
Brent Fraser wrote: Joaquim, Interesting! As Peter pointed out, the LPTS tag is the transformation matrix to go from projected coords to page coords, and is created by forming the UTM->page coordinates tranformation (from the information in the CTM tag below) and inverting it (there's a bri

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Brent Fraser
Joaquim, Interesting! As Peter pointed out, the LPTS tag is the transformation matrix to go from projected coords to page coords, and is created by forming the UTM->page coordinates tranformation (from the information in the CTM tag below) and inverting it (there's a brief mention near the e

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Joaquim Luis
Peter J Halls wrote: A bit of googling determines that the 'Adobe way' structure, together with its elements, is defined in the ISO PDF definition - ISO 32000-1 (2008). Looking at this with a PostScript Developer hat, the /LPTS has to be associated with scaling / transforming the GPTS coordin

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Peter J Halls
A bit of googling determines that the 'Adobe way' structure, together with its elements, is defined in the ISO PDF definition - ISO 32000-1 (2008). Looking at this with a PostScript Developer hat, the /LPTS has to be associated with scaling / transforming the GPTS coordinates to the page coordi

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Joaquim Luis
Brent, I was also digging a bit on this matter. It's true that the blogger only opens our appetite as there is no more details on how to do it generally. I mean, for UTM maps it has become fairly obvious how one can do it. The relevant part in the PS file is [ {ThisPage} << /LGIDict << /Descr

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-03 Thread Brent Fraser
Joaquim, Doing the format conversion from .ps to pdf is one thing (and there are several ways to do it), but embedding the georeferencing in the PDF to make it a GeoPDF is the interesting bit. I haven't found any open source project capable of do that. Or even capable of writing the PDF el

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-02 Thread Joaquim Luis
Brent Fraser wrote: I see the example calculation of the transformation matrix, and a statement "I created a GeoPDF by running the Postscript file through Ghostscript to create a Postscript file that looks like this" But I don't see where the georeferencing is written into PDF to make it a Ge

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-02 Thread Brent Fraser
I see the example calculation of the transformation matrix, and a statement "I created a GeoPDF by running the Postscript file through Ghostscript to create a Postscript file that looks like this" But I don't see where the georeferencing is written into PDF to make it a GeoPDF. Is it a Ghosts

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-02 Thread Frank Warmerdam
Klokan Petr Přidal wrote: Unfortunately all PDF parsing libraries I know are GPL, and that means we can't use them for the gdal driver - because of the license issues. But to create a GPL utility for converting GeoPDF to anything what GDAL/OGR supports should be OK. Poppler can be the best base o

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-09-02 Thread Klokan Petr Přidal
Hi, There is a great blog post (and the linked "worked example" post with details): http://geopdf.blogspot.com/2009/02/geopdf-map-for-worked-example.html It shows you how to create geopdf via GhostScript - so there is already a practical open-source example how to encode the georeference into the

Re: [gdal-dev] extract vector/raster data from GeoPDF

2009-08-07 Thread Brent Fraser
Keith, No talk that I'm aware of. There was a little chatter on the Geowanking list: http://geowanking.org/pipermail/geowanking_geowanking.org/2009-February/017492.html And occasionally some interest about producing PDF from Mapserver (e.g. http://lists.osgeo.org/pipermail/mapserver-users/200

[gdal-dev] extract vector/raster data from GeoPDF

2009-08-07 Thread keith lewis
Hello people, Is there any talk about developing tools in GDAL/OGR to extract raster or vector data from a GeoPDF now the 2.2 version was submitted to the OGC?? The submitted specs are for the georeferencing aspect only. ArcGIS and TerraGo tools can create a GeoPDF. The USGS offers free Geopdf tha