dcaliste / maep-qt

A map viewer for Jolla Sailfish OS
29 stars 14 forks source link

Custom tiles #27

Open Rikujolla opened 7 years ago

Rikujolla commented 7 years ago

It would be nice to be able to import custom tiles some how. That would enable to import e.g orienteering map or event map to the app from a local folder.

dcaliste commented 7 years ago

May I ask you to describe your use case in more details ? I don't catch what you suggest.

Besides, I'm currently working on rewriting the tile source handling (see the sources branch), so once understood, I should be able to add your idea. Thanks for suggesting.

Rikujolla commented 7 years ago

Sounds goog! My personal issue is I have a pdf map of an area of a size of about 10x10 kilometers. The map consists temporary elements to be built in future on that area so I can not create e.g. Openstreet Map refinements to achieve my goal to be able to walk on that area with mobile and that future map. It would be nice to substitute existing map tiles with my own map tiles on that area. Hopefully this clarifies my thoughts a little bit. Please ask more if needed.

dcaliste commented 7 years ago

Can your document be divided easily into tiles outside Mæp or it should be done inside ?

Besides, your document may be used semi transparently as a layer on top of a existing tile source like OSM. Mæp supports one additional layer (currently in the tile format only, but why not as a PDF or PNG document that can be rendered orthogonaly on the map).

Rikujolla commented 7 years ago

I guess I can tile map easily with e.g. gimp to the tiles needed if the specification of a tile is known (format, size etc).

Rikujolla commented 7 years ago

I made an app Draft Map to clarify my ideas. The app can be downloaded from OpenRepos. The source is in https://github.com/Rikujolla/draftmap. If you find that useful, feel free to copy. Pdf rendering was too hard for me! Svg and png files seem to work.