Re: [Potlatch-dev] Potlatch 2.3
Hi! Small update: After moving from the test installation to the live instance, the locale does work. Though I have no idea why as nothing has changed in the embedding. Maybe some flash caching issue? Now that it basically works, I noted that the translation of the UI is still incomplete. osm.org shows the same mix of English and German. I filed a ticket on trac and I would be happy to provide the German translation once the additional injections are in place. bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Potlatch-dev-Potlatch-2-3-tp6848644p7057442.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] Potlatch 2.3
Hi! I played at migrating to P2.3 again and ran into a few problems. 1. getting the locales. I downloaded potlatch2.swf from osm.org and took the resources from a git zip. But there are no locale files easily accessible. I assume that you need to run p2 with a matching set of locales and combining with older files is not such a cool id. I downloaded some locales from osm.org, but as you cannot browse the directories there that's only possible for files on a path you know or guess. I use the German and English locales now but I guess there are more. Is there a full set or browsable instance of the locales somewhere? 2. setting the locale. How do you do that in P2.3? The parameter format has changed, it used to be fo.addVariable(locale, de_DE); but what is it now? I tried adding it alternately to args and params, but P2 always runs with an english/default locale. 3. Config files. There was a hint earlier in this thread that the config file format has slightly changed. At first glance, my unchanged files appear to work. Can you give me more information where adjustments are necessary? 4. Authorization. P2.3 asked for a fresh authorization key. What changes cause it to do that? That request seems to pop up from time to time, I found that I had about 10 authrizations in my osm account. The question is also asked occasionally by users. When i executed the authorization, I had firebug running as I used it to spy on P2. This caused Firefox to always crash after the authorization window opened. After disabling firebug it worked. Is this a known problem? If you'd like to have a look at my test installation it's at http://www.wanderreitkarte.de/edit2/test.html. Maybe you spot a few mistakes that have not become apparent yet. bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Potlatch-dev-Potlatch-2-3-tp6848644p7033728.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] Potlatch 2.3
Hi! Richard Fairhurst wrote: NopMap wrote: How would I go about updating a custom instance to P2.3? Wiki instructions and random.dev appear to be outdated. The config files have also changed a little (particularly map_features.xml). If you use Safari's Activity Viewer or the equivalent in Firefox you can copy the ones being used live on osm.org. Otherwise, you can download them from my github account: git clone git@:systemed/potlatch2.git and everything's in the resources/ directory. Unfortunately, this did not work. There is no counterpart of activity viewer for firefox. Trying to execute the above line with git produced the error message: Cloning into c:/Data/Maps/potlatch... Permission denied (publickey). fatal: The remote end hung up unexpectedly So I'd still need to find a way to get at a working set of P2.3 resources. bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Potlatch-dev-Potlatch-2-3-tp6848644p6915011.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] Potlatch 2.3
Hi! How would I go about updating a custom instance to P2.3? Wiki instructions and random.dev appear to be outdated. bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Potlatch-dev-Potlatch-2-3-tp6848644p6898615.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] Potlatch 2.3
Hi! Looks pretty good on the main site. Is there a binary with example environment somewhere to update custom instances with? random.dev still seems to be using Potlatch 2.2 and you can't read the dirs on the main site. bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Potlatch-dev-Potlatch-2-3-tp6848644p6889931.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] Crash with custom vector.xml
After playing around a bit, I am even more confused what needs to go where. I put gpx.css into stylesheets/ and now it is recognized for tracks and the tracks are drawn - the drop down box in the vector file list in the GUI remains empty however. If I move my main (custom) stylesheet rwk.css into the folder it is no longer recognized. Changing the entry in stylesheet.xml to stylesheet/rwk.css makes no difference, it is still not recognized. After moving it back to the main folder, it reappears. From this, I can't figure out what really needs to go where and I did not find any information on the in the wiki. Could you elaborate a little on what needs to go where? How Do I get the GUI to reflect that it has found a gpx.css for a track? bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Crash-with-custom-vector-xml-tp6201539p6206911.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] Bug: Selection broken after save
So the information on http://wiki.openstreetmap.org/wiki/Potlatch_2/Deploying_Potlatch_2 is totally obsolete? That's what I used to set up my instance and nothing has changed there. Do you actually mean code? As I don't have a flash build system, code would be rather useless to me. rather confused Nop -- View this message in context: http://gis.638310.n2.nabble.com/Bug-Selection-broken-after-save-tp6092692p6165873.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] Bug: Selection broken after save
The problem still persists in build 25557. -- View this message in context: http://gis.638310.n2.nabble.com/Bug-Selection-broken-after-save-tp6092692p6164105.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
[Potlatch-dev] Bug: Error when selecting menu item GPS data/GPS data
When you select the menu item in the P2 on wanderreitkarte.de, Flash throws an error message: TypeError: Error #1009: Der Zugriff auf eine Eigenschaft oder eine Methode eines null-Objektverweises ist nicht m�ch. at net.systemeD.halcyon.styleparser::RuleSet/parse() at net.systemeD.halcyon.styleparser::RuleSet/parseCSS() at net.systemeD.halcyon.styleparser::RuleSet/doParseCSS() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at net.systemeD.halcyon.styleparser::NestedCSSLoader/fireComplete() at net.systemeD.halcyon.styleparser::NestedCSSLoader/fileError() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/onComplete() Any idea what might cause this error? Does the function have dependencies to the content of files like vectors.xml? bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Bug-Error-when-selecting-menu-item-GPS-data-GPS-data-tp6139540p6139540.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
[Potlatch-dev] Can P2 handle WMS imagery?
The subject says it all. bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Can-P2-handle-WMS-imagery-tp6069931p6069931.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] Suggestion for lifecycle tag - comments?
Steve Bennett-3 wrote: Anyway think the element names could be refined slightly. Are there any other tags that work this way, apart from the lifecycle ones? Do different tags have different lifecycles (I seem to recall that railways have more states). Should I just hard-code it all? I like the basic mechanism, supports the current handling of construction nicely. I believe a tagging scheme like this was discussed for the very unspecific historic=ruins, but I dont't think there was anything definite. bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Potlatch-dev-Suggestion-for-lifecycle-tag-comments-tp6029585p6030992.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] [OpenStreetMap] #3528: Grouping map features that share a top-level tag
Hi! Steve Bennett-3 wrote: Btw, do you have any idea why there are 60,000 route=hiking *nodes* in taginfo? I have had a look at some of them. It appears that a few people are actually putting that tag to every single node of the hiking route. :-) I did not find anything meaningful though. bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Potlatch-dev-OpenStreetMap-3528-Grouping-map-features-that-share-a-top-level-tag-tp6002479p6024561.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] [OpenStreetMap] #3528: Grouping map features that share a top-level tag
Hi! I have played around with this feature and it works really nicely on nodes and ways. Would it be possible to do a similar thing for relations? There are multiple taggings for hiking route relations, some are route=foot, some are route=hiking. At the moment, I need to add two relation slots with two drop down boxes in parallel which is very confusing, especially as you cannot see and don't want to see the difference in tagging in simple mode. It would be great to see foot and hiking relations in a common drop down box (and just create hiking relations when adding new ones). bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Potlatch-dev-OpenStreetMap-3528-Grouping-map-features-that-share-a-top-level-tag-tp6002479p6022105.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] [OpenStreetMap] #3528: Grouping map features that share a top-level tag
Steve Bennett-3 wrote: In this particular case, what do you want to happen though: add two relations (one route=foot, one route=hiking)? Or interpret both tags, but always save as route=foot? I would like one map_features entry that shows only one drop-down box with a combined list of foot and hiking relations. When you assign relations to an item, nothing needs to change. When you create a relation or change its tagging, only hiking should be saved as it is used more frequently and also more intuitive. The important part is having only one drop-down-box for selecting equivalent relations. bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Potlatch-dev-OpenStreetMap-3528-Grouping-map-features-that-share-a-top-level-tag-tp6002479p6022753.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] On GPX tracks in P2
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? bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/On-GPX-tracks-in-P2-tp5567583p5809150.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] On GPX tracks in P2
Richard Fairhurst wrote: I've added it in r24590 (and uploaded a new swf to geowiki.com should you want to play with it for now). You can pass in the URL using the gpx_url parameter. Thanks. I'd really like to play with it, but I don't understand where that parameter is and how to call it. bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/On-GPX-tracks-in-P2-tp5567583p5806135.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] Internationalisation
Hi! Tom Hughes-3 wrote: Looking in I18N for it is fairly high on my to do list - it shouldn't be hard to do as Flex has I18N support built in. That was for messages builtin to Potlatch though - I hadn't looked at the question of the presets, which come from an external XML file. I do have some plans that I'm working on which may help with that though. Good to hear. If you need someone to bounce your ideas off, feel free to consider me a wall. :-) bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/Internationalisation-tp5799061p5799131.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev
Re: [Potlatch-dev] On GPX tracks in P2
Andy Allan wrote: You can set 1 or more GPX files to be loaded at startup using the vectors.xml config file, if that's what you're meaning: Not really. That file obviously is global for all users. My use case is: - A user has a GPX track on his local drive that he wants to use for mapping. - To overcome the crossdomain restrictions, he uploads the file onto the same server that is running P2 where it becomes available under a temporary URL - I would need a way to hand over this URL to P2 dynamically. Preferrably by calling a method on the SWFObject when starting P2. The GPX should be loaded from the URL and used as a background. Currently, you need to open the Background dialog and enter the URL manually. Or is there another way to achieve this? bye Nop -- View this message in context: http://gis.638310.n2.nabble.com/On-GPX-tracks-in-P2-tp5567583p5801990.html Sent from the Potlatch mailing list archive at Nabble.com. ___ Potlatch-dev mailing list Potlatch-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/potlatch-dev