RMap file format

Started by yip, May 07, 2015, 02:08:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yip

Hi



I recently tried to convert mbtiles to rmaps.

AFAIK , RMAP file format covers numerous formats, some open, some proprietary & closed specs ...



I would like to talk here about the open, sqlite, simple RMAP format. not the twonav/swiss/compegps/(...) ones.

How is it structured ? information is very scarce on the net. even on the rmaps dev site (if related anyway).

So far , I thought it was like this:



-tiles  (table)

--- x  ( 0 , 0 is the same for all rmaps: a corner of the "google sphere" )

--- y

--- z  (17 - zoom_google, 17 is the earth on a single tile, 16 is the 4-tiles division ... )

--- s   (timestamp, can be set to 0 or anything ?)

--- image   (blob of the PNG)

- info (table)

--- minzoom ( for example 10 )

--- maxzoom  ( for example 17 if the maxzoom is the whole earth )



But I cant get OruxMaps to read some simple files with this structure:

" no compe" , "error leyendo mapa" and "error si coordinadas OK"


QuoteSo what is the exact, and minimal, structure of RMAP open format, that Oruxmaps can parse ?


If it is close to this, it is interesting that mbtiles and rmaps are really close to each other. perhaps it would be possible to create compatible map files by adding some SQL "CREATE VIEW" to conform to each standard ?



thanks a lot !

yip

Maki

#1
I don't know the specs, but you can convert mbtiles to just about anything else with mobac (read the mobac faq).

rvb

#2
orux can read mbtiles, why do you want to convert?

yip

#3
Quote from: "rvb"orux can read mbtiles, why do you want to convert?

mbtiles format doesn't allow a custom projection

rmap format does



oruxmaps can apply a custom datum via the "maps" menu to rmaps, but not to mbtiles.

(this option could perhaps be removed for unsupported maps then ?)

rvb

#4
I do not understand why you want to convert to a format you don't know how its layout is exactly described.



I can't help you.