Ramneek Paul Singh | 23 Apr 20:20 2015
Picon

[OSM-dev] Diagrams

Can i get the site from where i could get the the exact Structure charts , ER diagram of open street map ?
--
Ramneek Paul Singh
http://ramneekpaulsingh.wordpress.com
" Failure is the opportunity to begin again more intelligently "
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Paul Norman | 22 Apr 01:17 2015
Picon

[OSM-dev] rsync and osm2pgsql flat nodes

osm2pgsql flat nodes is a binary file with the position of all nodes, in 
a representation which is very efficient for full planet dumps, needing 
only 8 bytes * max node ID, instead of the 40-60 bytes * number of nodes 
that alternative representations would need. For the planet where the 
number of nodes is about 81% of the max node ID, this takes much less 
space.

One significant downside for production environments is that this data 
is not in the database and does not have the replication and redundancy 
of in-DB nodes. This is a problem but should not be insurmountable. 
Rather than needing to keep the flat nodes and database synchronized 
with your replication method, the flat nodes needs to be no older than 
the state file which also should be saved.

Has anyone used rsync to keep a copy of the flat nodes file up to date 
on another standby machine which can then step in in case the first one 
fails? My initial thought was to have another cron script that runs 
async to the updates which rsyncs the flat nodes and then the state 
file, in that order. I have no idea how the performance is, but most of 
the flat nodes file should not have changed.

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
François Battail | 21 Apr 10:55 2015
Picon

[OSM-dev] OSM IDs order in osm.pbf files

Dear List,

I'm developing an application like osm2pgsql but with a very different 
schema, I would like to know if I can assume the following things when 
parsing an osm.pbf file :

1. Records will always be in this order, that is:
   - header,
   - nodes,
   - dense nodes,
   - ways,
   - relations.

2. OSM IDs are always in increasing order when parsing osm.pbf records 
forward.

3. A relation with ID x referencing another relation with ID y is such 
that x > y.

Are these points safe to assume ?

Thanks a lot, best regards.

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Frederik Ramm | 20 Apr 18:01 2015

[OSM-dev] Cloud Foundry

Hi,

   has anyone set up, or attempted to set up, a tile server in a Cloud
Foundry environment and is willing to share what they learned?

Bye
Frederik

--

-- 
Frederik Ramm  ##  eMail frederik <at> remote.org  ##  N49°00'09" E008°23'33"

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Ramneek Paul Singh | 20 Apr 08:33 2015
Picon

[OSM-dev] Languages

Can anyone help in listing the tools that could help me conversion of the tags in he local language i want and can i edit it ?
--
Ramneek Paul Singh
http://ramneekpaulsingh.wordpress.com
" Failure is the opportunity to begin again more intelligently "
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Stephen Knox | 20 Apr 00:28 2015
Picon

[OSM-dev] OSM and Big Data - MSc Project

Just to say I have started a blog at http://www.bigopengeodata.co.uk/blog/ . It's aiming to document my own progress on the topic, and be another place for discussion for the community.

Of course, happy to keep the list up to date with what I am doing as well if that is preferred.

Regards

Stephen
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Michael Kugelmann | 18 Apr 19:54 2015
Picon
Picon

[OSM-dev] Outdated web pages / default pages on some OSM addresses

Hello,

I just stumbled across two web pages which might need some work. I chose 
the "dev"-ml because I guess that the people who can change this are 
present here...
CCed to OSMF.talk.

https://foundation.osm.org/
shows some information that the SOTM 2007 Manchester is over... (which 
is correct, indeed   ;-)

http://foundation.osm.org/
shows a "Apache2 Ubuntu Default Page"...

As I said: maybe someone can take care that these URLs are forwared to a 
reasonale page instead.

Cheers,
Michael.

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Nick Whitelegg | 16 Apr 20:22 2015
Picon

[OSM-dev] Acceptable use of Overpass API?

Hi,


As a few of you might know I am developing an augmented reality hikers' app for Android. As part of this I would like to develop route finding (including AR signposts) facilities, using GraphHopper.


However I don't want users to have to download a huge OSM or GraphHopper file covering the whole of England and Wales: I would prefer users to download small tiles of OSM data (say 10km x 10km) of their local area, which could then be cached on their device. The conversion to GraphHopper format could be done on the device.


Overpass seems good for this: the usage policy suggests up to 10000 hits/day is acceptable. I can't see more than a small number of people using the app for now: furthermore I could route requests through a proxy on my own server which ensures that no more than 5000 (to be safe) requests to Overpass per day are made.


Does this sound an acceptable use of the Overpass API?


Thanks,

Nick

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Oleksiy Muzalyev | 13 Apr 12:31 2015
Picon

[OSM-dev] Share a route, in addition to Share a location on the main OSM map

Hi,

On the main OSM page it is possible to generate a short link for a location. For example, it is the link to the location of the city of Yakutsk in Siberia: http://osm.org/go/8_Anzx-?m=

Why not to introduce the similar service for a route? I've created a working model on my testing website. For instance, it is the link to the route from Yakutst to the city of Irkutsk: openbizmap.org/measure/?l=552b9a08f1b20

To view the direction of the route and leg distances, the button Distance Ruler Edit (under Zoom) in the left upper corner should be activated (clicked once).

It could be used to show a route say from a bust stop to a hotel, or how to drive optimally from one location to another, etc. Perhaps, such a service exists at the OSM, but I just could not notice it. Anyway, I saw other people, while sending directions, make a screen-shot of the OSM map, and then draw a route line on the JPG screen-shot in a graphical editor.

Best regards,
Oleksiy




_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Tomas Straupis | 8 Apr 14:38 2015
Picon

[OSM-dev] osm.org website translations

Hello

  How often are translations loaded from translatewiki.org to openstreetmap.org?
  Or should I somehow request that?
  Currently month old translations (Lithuanian ones) are not loaded yet.

  Thank you

--

-- 
Tomas

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Florian Lohoff | 8 Apr 14:32 2015
Picon

[OSM-dev] osmosis pgsnapshot actions table


Hi,
iam looking at something like whodidit - Analysis of changesets,
their authors and near realtime monitoring of areas.

Whodidit parses the osc files independent of existing data so
when only ways get modified (without their respective nodes)
you'll miss the update.

I was thinking of using an osmosis based pgsnapshot schema
which i have running anyway and adding the actions tables,
some trigger function magic and there we have the data.

Now i have multiple problems.

- With triggers on the actions table i am unable to fetch
  deleted nodes former geometry. before or after insert on
  the actions table when action is 'D' the node is already gone
  from the nodes table.

- I fail to get the changeset, user and timestamp information.

Did anyone solve this? I had a look at osmosis on extending the
data dumped to the actions table e.g. changeset, user and timestamp
but still the "delete entity" would still exist.

Would something like this reorder the deletion of the way/node/relation
and the insert into the action table?

diff --git
a/osmosis-pgsnapshot/src/main/java/org/openstreetmap/osmosis/pgsnapshot/v0_6/impl/EntityDao.java b/osmosis-pgsnapshot/src/main/java/org/openstreetmap/osmosis/pgsnapshot/v0_6/impl/EntityDao.java
index e53539e..59ff9fb 100644
--- a/osmosis-pgsnapshot/src/main/java/org/openstreetmap/osmosis/pgsnapshot/v0_6/impl/EntityDao.java
+++ b/osmosis-pgsnapshot/src/main/java/org/openstreetmap/osmosis/pgsnapshot/v0_6/impl/EntityDao.java
 <at>  <at>  -147,9 +147,9  <at>  <at>  public abstract class EntityDao<T extends Entity> {
 		args = new HashMap<String, Object>();
 		args.put("id", entityId);
 		
-		namedParameterJdbcTemplate.update(entityMapper.getSqlDelete(true), args);
-		
 		actionDao.addAction(entityMapper.getEntityType(), ChangesetAction.DELETE, entityId);
+
+		namedParameterJdbcTemplate.update(entityMapper.getSqlDelete(true), args);
 	}
 	
 	
Flo
--

-- 
Florian Lohoff                                                 f <at> zz.de
     We need to self-defense - GnuPG/PGP enable your email today!
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev

Gmane