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


task #10116: Include geo-coordinates inside PNG file

Submitted by:  David Mentré <dmentre>
Submitted on:  Fri Jan 22 09:05:58 2010  
Should Start On: Thu Jan 21 23:00:00 2010Should be Finished on: Wed Jun 29 22:00:00 2011
Category: ocitysmapPriority: 3 - Low
Status: Need InfoPrivacy: Public
Percent Complete: 0%Assigned to: None
Open/Closed: OpenRelease: None
Effort: 0.00

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Fri Oct 29 21:09:40 2010, comment #6:

Making this low priority, for next year maybe.

Maxime Petazzoni <mpetazzoni>
Project Administrator
Thu Apr 8 00:48:47 2010, 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 Jan 24 20:32:13 2010, 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>
Project Administrator
Fri Jan 22 16:45:53 2010, 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>
Project Member
Fri Jan 22 16:23:38 2010, 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>
Project Administrator
Fri Jan 22 09:07:32 2010, comment #1:

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

David Mentré <dmentre>
Project Administrator
Fri Jan 22 09:05:58 2010, 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>
Project Administrator


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

Attach File(s):

No files currently attached


Depends on the following items: None found

   task dependencies.


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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Oct 29 21:09:40 2010mpetazzoniShould be Finished onThu Jan 21 23:00:00 2010=>Wed Jun 29 22:00:00 2011
      Priority5 - Normal=>3 - Low
      StatusNone=>Need Info
    Fri Jan 22 16:46:33 2010jvrnixDependencies-=>task #9917 is dependent

    Back to the top

    Powered by Savane 3.1-cleanup1