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 22 Jan 2010 09:05:58 AM UTC  
Should Start On: Thu 21 Jan 2010 11:00:00 PM UTCShould be Finished on: Wed 29 Jun 2011 10:00:00 PM UTC
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 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 29 Oct 2010 09:09:40 PM UTC, comment #6:

Making this low priority, for next year maybe.

Maxime Petazzoni <mpetazzoni>
Project 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>
Project 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>
Project 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>
Project Administrator
Fri 22 Jan 2010 09:07:32 AM UTC, comment #1:

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

David Mentré <dmentre>
Project 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>
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 29 Oct 2010 09:09:40 PM UTCmpetazzoniShould be Finished onThu 21 Jan 2010 11:00:00 PM UTC=>Wed 29 Jun 2011 10:00:00 PM UTC
      Priority5 - Normal=>3 - Low
      StatusNone=>Need Info
    Fri 22 Jan 2010 04:46:33 PM UTCjvrnixDependencies-=>task #9917 is dependent

    Back to the top

    Powered by Savane 3.1-cleanup1