taskMapOSMatic - Tasks: task #10116, Include geo-coordinates inside PNG...


task #10116: Include geo-coordinates inside PNG file

Submitter:  David Mentré <dmentre>
Submitted:  Fri 22 Jan 2010 09:05:58 AM UTC
Should Start On:  Thu 21 Jan 2010 11:00:00 PM UTC Should be Finished on:  Wed 29 Jun 2011 10:00:00 PM UTC
Category:  ocitysmap Priority:  * 3 - Low
Status:  Need Info Privacy:  Public
Assigned to:  None Percent Complete:  0%
Open/Closed:  Open Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup

Jump to the original submission

Fri 29 Oct 2010 09:09:40 PM UTC, comment #6: 

Making this low priority, for next year maybe.

Maxime Petazzoni <mpetazzoni>
Group administrator
Thu 08 Apr 2010 12:48:47 AM UTC, comment #5: 

This is dane (from mapnik). World file will do this along with PNG to allow output to be opened in GIS viewer. See the `to_wld' function at: http://mapnik-utils.googlecode.com/svn/trunk/nik2img/mapnik_utils/metaclass_injectors.py

alternatively we could also add GeoTiff output to Mapnik proper.

Sun 24 Jan 2010 08:32:13 PM UTC, comment #4: 

From Pekka Sarkola:

I think best term for this request is "Georeferenced image files (PNG, PDF)".
I presume there is not standard way to include coordinates inside PNG-files. World files are common way to georefence raster files. Here is few links:

    * http://mapserver.org/input/raster.html#georeference-with-world-files
    * http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=World_files_for_raster_datasets

I think also Map Projection information will be valuable. If you can also add projection file with your map produtcs, that will also very valuable. This reference is for shapefiles, but I presume it works also with raster files:

    * http://en.wikipedia.org/wiki/Shapefile

BTW, also following information should be on the maps (IMHO):

    * Map projection: this information should be also on the map
    * WGS 84 / MGRS coordinates grids: maybe there is some use of these also. At least if you are using GPS devices to collect information / navigate
    * Georeferenced PDF: I'm not sure if you tools support these. But it will very convient, if PDFs will be georeferenced and layered. This can be very big job.

David Mentré <dmentre>
Group administrator
Fri 22 Jan 2010 04:45:53 PM UTC, comment #3: 

I'll keep this in mind for the pngcrush/optipng task, to make sure that if this gets added, the optimization step doesn't scrub that PNG section.

Jeroen van Rijn <jvrnix>
Group Member
Fri 22 Jan 2010 04:23:38 PM UTC, comment #2: 

A reference on World Files:
World File information can be included into a PNG file:

Suffix for PNG + World File is .pngw or .pnw.

Another reference: http://www.cadforum.cz/cadforum_en/qaID.asp?tip=3515

David Mentré <dmentre>
Group administrator
Fri 22 Jan 2010 09:07:32 AM UTC, comment #1: 

Reference for GeoTIFF: http://trac.osgeo.org/geotiff/

David Mentré <dmentre>
Group administrator
Fri 22 Jan 2010 09:05:58 AM UTC, original submission:  

From Pekka Sarkola:

I really need coordinates inside of PNG or GeoTIFF files. With PNG this should be world file (or similar), GeoTIFF should be better solution. With this feature I can take picture inside of my GIS tool (MapInfo, ESRI ArcView, uDIG...) and attach my own GIS layer top of your maps.

My question: how to encode such coordinates? Any standard?

David Mentré <dmentre>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

   task dependencies.


Carbon-Copy List
  • -email is unavailable- added by mpetazzoni (Posted a comment)
  • -email is unavailable- added by jvrnix (Posted a comment)
  • -email is unavailable- added by dmentre (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-10-29 mpetazzoni Should be Finished on2010-01-21 2011-06-29
        Priority5 - Normal 3 - Low
        StatusNone Need Info
    2010-01-22 jvrnix Dependencies- task #9917 is dependent

    Back to the top

    Powered by Savane 3.13-ee12.
    Corresponding source code