Re: [Potlatch-dev] [OpenStreetMap] #4307: Weird behavior when changing tags (ie name_1=* to alt_name=*)

2012-03-18 Thread OpenStreetMap
#4307: Weird behavior when changing tags (ie name_1=* to alt_name=*)
+---
 Reporter:  compdude|   Owner:  
potlatch-dev@…
 Type:  defect  |  Status:  new 
  
 Priority:  minor   |   Milestone:  
  
Component:  potlatch2   | Version:  
  
 Keywords:  weird, behavior, tag, change, advanced  |  
+---

Comment(by compdude):

 Replying to [comment:1 stevage]:
  Hmm, I can't reproduce. What's the exact sequence of mouse clicks and
 keypresses? Does it only happen with tag values that have a B in them
 (since B is the shortcut for adding a source...)?

 I was just using the source tag as an example.  What exactly was happening
 was that I was doing TIGER fixup and I changed a name_1 tag to alt_name.
 And it instead was replacing it was the tag listed after the name_1 tag,
 which in this case happened to be tiger:tlid, I think.  It happened
 several times in my editing session.

-- 
Ticket URL: https://trac.openstreetmap.org/ticket/4307#comment:2
OpenStreetMap http://www.openstreetmap.org/
OpenStreetMap is a free editable map of the whole world

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [OSM-dev] shortestpathtree.org - a tool for quickly checking OSM data integrity

2012-03-18 Thread Mike N

On 3/12/2012 12:11 PM, Brandon Martin-Anderson wrote:

Behold! I made a thing.

http://shortestpathtree.org


  Awesome - I'd like to play with this on nearby data.  I can't seem to 
figure out the server-side context used to execute the javascript.  Do 
you have more details on this?


  Thanks!

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] New osmlib-base (after nearly 3 years)

2012-03-18 Thread Serge Wroclawski
Hi all,

As is so often the case with software in our community, we add
features to scratch our own itch.

Jochen has largely moved away from osmlib to work on osmium, so the
software hasn't had any updates in nearly 3 years.

In that spirit, I've taken osmlib-base and forked it. My version is
at: https://github.com/emacsen/osmlib-base

I've added a few features:

* osmlib now parses and supports the visible flag.
* osmlib now emits the visible flag
* osmlib can now parse OSMChange XML through the new OSM::Change class
* osmlib now can parse generic OSM Actions (create/modify/delete)
through the new OSM::Action class

All the new features have unit tests around them and the Change and
Action features are documented in the README.

I'm not sure about the future of this library, whether there's
interest in it by others, but this software it out, and usable by
others, if you want to use it.

- Serge

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] New osmlib-base (after nearly 3 years)

2012-03-18 Thread Jochen Topf
Hi!

On Sun, Mar 18, 2012 at 12:11:10PM -0400, Serge Wroclawski wrote:
 As is so often the case with software in our community, we add
 features to scratch our own itch.
 
 Jochen has largely moved away from osmlib to work on osmium, so the
 software hasn't had any updates in nearly 3 years.
 
 In that spirit, I've taken osmlib-base and forked it. My version is
 at: https://github.com/emacsen/osmlib-base

Great! Over the years several people have been contacting me showing interest
in OSMlib. So I am glad that somebody picked up the ball and that it is still
useful to people.

I have added a link to your repository here:
http://wiki.openstreetmap.org/wiki/OSMLib
Maybe you can update the page a bit more.

What about the other libs osmlib-export and osmlib-sqlite? Any plans?
(There is also an osmlib-namefinder, but thats not useful any more.)

Jochen
-- 
Jochen Topf  joc...@remote.org  http://www.remote.org/jochen/  +49-721-388298


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] New osmlib-base (after nearly 3 years)

2012-03-18 Thread Serge Wroclawski
On Sun, Mar 18, 2012 at 1:19 PM, Jochen Topf joc...@remote.org wrote:
 Hi!

 On Sun, Mar 18, 2012 at 12:11:10PM -0400, Serge Wroclawski wrote:
 As is so often the case with software in our community, we add
 features to scratch our own itch.

 Jochen has largely moved away from osmlib to work on osmium, so the
 software hasn't had any updates in nearly 3 years.

 In that spirit, I've taken osmlib-base and forked it. My version is
 at: https://github.com/emacsen/osmlib-base

 Great! Over the years several people have been contacting me showing interest
 in OSMlib. So I am glad that somebody picked up the ball and that it is still
 useful to people.

I've taken a step as lightly as possible approach. I added my name,
but didn't change the license from PD, or add any features I didn't
really need (eg I can parse .osc files but I can't emit them yet).

The one change you might not like is I reformatted all the code. ;)

 I have added a link to your repository here:
 http://wiki.openstreetmap.org/wiki/OSMLib
 Maybe you can update the page a bit more.

I'll try to do that later today.

 What about the other libs osmlib-export and osmlib-sqlite? Any plans?
 (There is also an osmlib-namefinder, but thats not useful any more.)

I haven't touched any of them. My feeling is that if people really see
value in this version, we'll talk, and we'll see about updating
everything. If no one uses it, then there's not much point in spending
a lot of time on it.

Heck, maybe we can replace the osmlib xml parser with osmium.

- Serge

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] osm2pgsql diff imports benchmarks

2012-03-18 Thread sly (sylvain letuffe)
Hi,

In the process of trying to speed up diff imports with osm2pgsql, I'm searching 
for a typical output of osm2pgsql importing one minute.

I know of :
http://wiki.openstreetmap.org/wiki/Osm2pgsql/benchmarks
But beside the one I just wrote, there are no output of what is expected  
for a one minute (or few minutes) diff import.

Could someone operating and maintaining a planet osm2pgsql database be so kind 
as to provide me one (or more in order to have average metrics) ?


On a side note, while loging long queries I ran into a weird long one about 
retrieving pending ways during diff import.

It turned out that the index on the pending field wasn't used at all and led 
to a full scan of the planet_osm_ways table, increasing noticeably the diff 
import.
I don't feel I have imported data in a weird way and don't know if others are 
affected by that, but you can check if you are affected by runing :
select id from planet_osm_way where pending which should run in less than a 
second if index is well used.

To solve the problem post import, we did re-index and ran analyse
reindex index planet_osm_ways_idx;
analyse;
-- 
sly (sylvain letuffe)

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Rendering of Cliffs using mapnik-cairo?

2012-03-18 Thread nimix
Hi,
I had such isues when using Ubuntus default PDF reader. Have you tried to
load your files with adobe reade? That solved the problem for my files.
Unfortunately I don't have a pc with the adobe reader right now, where I can
try it.
Best Regards,
Melchior

--
View this message in context: 
http://gis.19327.n5.nabble.com/Rendering-of-Cliffs-using-mapnik-cairo-tp5574167p5575603.html
Sent from the Developer Discussion mailing list archive at Nabble.com.

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Rendering of Cliffs using mapnik-cairo?

2012-03-18 Thread Graham Jones
Ah - I think you have got it there, thank you.   The problem goes away if I
view the file with xpdf rather than evince - I'll try filing a bug with
evince.

Thanks


Graham.

On 18 March 2012 20:15, nimix melchiorm...@gmail.com wrote:

 Hi,
 I had such isues when using Ubuntus default PDF reader. Have you tried to
 load your files with adobe reade? That solved the problem for my files.
 Unfortunately I don't have a pc with the adobe reader right now, where I
 can
 try it.
 Best Regards,
 Melchior

 --
 View this message in context:
 http://gis.19327.n5.nabble.com/Rendering-of-Cliffs-using-mapnik-cairo-tp5574167p5575603.html
 Sent from the Developer Discussion mailing list archive at Nabble.com.

 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev




-- 
Graham Jones
Hartlepool, UK.
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev