Open manimaul opened 11 years ago
Hi Will,
Somebody asked me the same a few month ago. It was not OSM specific but the goal seem the same.
The idea was to use S52 in a tile server (mapserver).
I think that the call S52_dumpS57IDPixels() in my libS52 (see S52.h) would be the way to go. This call can dump the framebuffer to a .PNG file.
But I haven't try myself to hook that to a tile server.
Have fun!
Sylvain.
From: Will Kamp notifications@github.com To: sduclos/S52 S52@noreply.github.com Sent: Monday, March 25, 2013 6:32:37 PM Subject: [S52] S52 tileprovider (#3)
I'm interested in creating an opensource S-57 "tileprovider" for the Osmdroid Android map library ( http://code.google.com/p/osmdroid/ ). Do you think S52 would be suitable and/or do you have any input advice here before I dive into this? Thanks very much. Will Kamp --mxmariner.com — Reply to this email directly or view it on GitHub.
I am looking for S52enc 2 maptiles, preferably standard .png tiles for Leaflet, but can also look at Mapbox vector tiles format or MBTiles. Basically, I have lots of data in ENC and iENC formats that I would like to have displayed as web map tiles.
@Skippern I am late
Maybe GDAL 2.3 new MBTiles driver for vector datasets can help you. MVT: Mapbox Vector Tiles - GDAL
No problem @sduclos
Currently GDAL 2.3 is not available as stable/tested on neither of the systems I use (Ubuntu 16.04 GDAL 2.2.2+dfsg-1~xenial
, MacPort_Darwin GDAL 2.2.4
)
As I currently are prevented from running experimental builds of GDAL, I will not be able to test this right away.
Further I have not been successful in using GDAL/Ogr to read/convert S52 data, so I would need a pre-processor of some sort.
An interesting option could be a tileserver rendering .png
or MVT
on the fly.
For reference I updated the .PNG of a screenshot of S-64 GB4X0000 [1]. This ENC is denser then regular ENC for testing purpose. This .PNG is 1280x1024 pixels and take somewhere ~20ms to render on a commodity GPU. So a tiling server of a .PNG seem reasonable for light load.
[1] https://raw.githubusercontent.com/sduclos/S52/master/test/ref_dump/GB4X0000.png
@Skippern have you tried anything in that direction? I am also thinking about something like that. If you have experiences, would be great if you could share them. This might save some time and stress
I'm interested in creating an opensource S-57 "tileprovider" for the Osmdroid Android map library ( http://code.google.com/p/osmdroid/ ). Do you think S52 would be suitable and/or do you have any input advice here before I dive into this? Thanks very much.
Will Kamp --mxmariner.com