Kate Chapman wrote: > Is there a way to load a vector file from a URl parameter in Potlatch2? > We have grids of areas for people to edit and want to load in a grid > square as a guide.
If you're just using Potlatch 2 on osm.org, you can pass it an uploaded GPX in the usual way - http://www.openstreetmap.org/edit?gpx=849405 (or whatever the id of the GPX is). If you're hosting your own instance, you can go further by calling in a GPX from anywhere at all. Follow the instructions at http://wiki.openstreetmap.org/wiki/Potlatch_2/Deploying_Potlatch_2 , and add a line like this: fo.addVariable("gpx_url", "http://wherever.your.gpx.file.is/something.gpx"); In that case, you'll also need to add a permissions file to the root of the server (dear old Flash). The easiest way to do this is to copy http://api.flickr.com/crossdomain.xml and save it at http://wherever.your.gpx.file.is/crossdomain.xml . Deploying your own P2 instance is really worth looking into - you can customise it to have all the presets, rendering and so on that you need. If you'd like help or extra features let us know - the potlatch-dev list is probably the best place. cheers Richard -- View this message in context: http://gis.638310.n2.nabble.com/Loading-Vector-Files-from-URL-parameters-Potlatch2-tp5803891p5804210.html Sent from the Developer Discussion mailing list archive at Nabble.com. _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

