[Potlatch-dev] On GPX tracks in P2

Andy Allan gravitystorm at gmail.com
Mon Dec 6 19:47:43 GMT 2010


On Mon, Dec 6, 2010 at 7:42 PM, NopMap <ekkehart at gmx.de> wrote:
>
> Hi!
>
>
> Andy Allan wrote:
>>
>> The vectors.xml, imagery.xml and stylesheets.xml files are all
>> requested at initialisation, so you could (if you had a need) provide
>> custom per-user versions of any of them.
>>
>> The myGPX dialog (which is practically unfindable now) talks only to
>> the same OSM server that's configured in the "api" variable, since
>> it's using OSM API calls to access the tracks that have already been
>> uploaded to the API server.
>>
>
> So where would I find the contents of vector.xml in P2?

Well, that's a currently half-implemented question, and one I was
referring to in a different thread a couple of weeks ago. If you set a
layer in vectors.xml with loaded="true", it'll load the relevant data,
display it on the map and then show it as an entry in the Background
-> Vector File... dialog. Future work is to refactor the vector layer
handling to introduce a new state (configured but not loaded) so that
you can have entries in the config file that are available in the
dialog but not fetched during every startup.

Cheers,
Andy



More information about the Potlatch-dev mailing list