Re: [OSM-dev] Seeking advice for OSM based routing application

2013-03-19 Thread Matt Hoover

 Well options 2 and 4 are absolutely not feasible, assuming you are
 talking about using the osm.org map query API. The OSM API is for
 editing the map only, not for clients to query for use in some 3rd
 party service. Of course some small non-editing related calls get
 through but if you start querying a lot of data you will get blocked
 pretty quickly. For non edit related querying there are other services
 like jxapi or overpass. But even then, this does not sound like the
 best idea.


Yeah, I was considering using an XAPI interface, but honestly I didn't
realize that was the only way allowable... I was just leaning that way
because of the larger area coverage allowed on a request.  But yeah I agree
neither of these ideas are ideal.


 The specific example you linked to does seem very odd. It does look
 like the MapQuest Open routing service behaves correctly thought:
 http://mapq.st/1067Po9


Good find.  I had skipped over mapquest open earlier for some reason, and
you're right it does work on that one.  However I found some other route
attempts that would not work on mapquest but WOULD work on YOURS.  How
confusing.  See image here if you're curious.
http://i.imgur.com/Rv0UNpa.jpg
Both attempts in that image work on BRouter, but it doesn't have a public
API, and it is really weird about starting the route far ahead of (or
behind) the actual point you give it (though at least still on the same
path).


 Looking on a couple of other routing services, the OSRM demo is set
 for cars only so it won't even try to go on the highway=path. No clue
 where the cloudmade router's head is. It will obviously use
 highway=path but for some reason it is refusing to transition to it
 right there. I can't figure out why either.


Thanks for your input anyway.  I have the mapquest one working in my app
already... was very easy to set up.  Just doesn't work for half the routes
I want it to.  Considering having my application make both a mapquest open
AND a YOURS request, and then internally judge which one is better and
present that to the user.
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Notes Branch

2013-03-19 Thread Mikel Maron
Hey

Getting some renewed interest in the Notes features. Curious to know the 
outlook on the notes branch deployment.

Are these the remaining issues? What can we do to help?
https://github.com/tomhughes/openstreetmap-website/issues


Also wondering about API. Assume that it's differeing from this?
http://wiki.openstreetmap.org/wiki/OpenStreetBugs/API
Is authentication required for note creation? Will it be possible for an 
external app to post on behalf on non-OSM users?

Thanks
-Mikel
 
* Mikel Maron * +14152835207 @mikel s:mikelmaron___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Getting lat and long from an address

2013-03-19 Thread drugdu
I’m trying develop an desktop application  to get the lat and long base on an
address, the problem is that I must do this offline, I tried to export the
map, but I need all my county and the export tab says that I need to choose
a smaller area, it’s my first time working with maps and I really don’t have
any idea where I can start to learning about this, I prefer to work on c# or
iron python or iron ruby, I hope you can help me.  

PD: sorry for my bad english is not my native



--
View this message in context: 
http://gis.19327.n5.nabble.com/Getting-lat-and-long-from-an-address-tp5753867.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] Getting lat and long from an address

2013-03-19 Thread Toby Murray
On Tue, Mar 19, 2013 at 10:05 AM, drugdu fjb.pa...@gmail.com wrote:
 I’m trying develop an desktop application  to get the lat and long base on an
 address, the problem is that I must do this offline, I tried to export the
 map, but I need all my county and the export tab says that I need to choose
 a smaller area, it’s my first time working with maps and I really don’t have
 any idea where I can start to learning about this, I prefer to work on c# or
 iron python or iron ruby, I hope you can help me.

All of the OSM data is available via a giant planet file on
planet.osm.org. This is probably more data than you want to work with
but there are several places that provide extracts on the
country/state/city level. Please read over this page in our wiki:

http://wiki.openstreetmap.org/wiki/Planet

Toby

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


Re: [OSM-dev] Getting lat and long from an address

2013-03-19 Thread Sven Geggus
drugdu fjb.pa...@gmail.com wrote:
 I’m trying develop an desktop application  to get the lat and long base on an
 address, the problem is that I must do this offline, I tried to export the
 map, but I need all my county and the export tab says that I need to choose
 a smaller area, it’s my first time working with maps and I really don’t have
 any idea where I can start to learning about this,

Have a look at http://download.geofabrik.de/

Sven

-- 
Microsoft ist offenbar die einzige Firma, die in der Lage ist, ein mit
Office nicht kompatibles Bürosoftwarepaket einzuführen.
(Florian Weimer in de.alt.sysadmin.recovery)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web

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


Re: [OSM-dev] mod_tile in other projections?

2013-03-19 Thread Michal Migurski
Mod_tile does have projection baked-in:
https://github.com/openstreetmap/mod_tile/blob/master/renderd.py#L163

You may find it necessary to play with the scale of your projection so that the 
units of spherical mercator (equatorial meters) approximately match yours. For 
example, an Albers projection with a standard parallel in the continental 
United States would be scaled up a bit to get the numbers to match.

-mike.

On Mar 18, 2013, at 8:18 PM, Raffaello Bertini wrote:

 you can change the mapnik configuration file for the projection. mod_tile 
 haven't nothing with projection or ogc protocol.
 mapproxy is better if you need WMS WMTS TMS protocol to distribuite your 
 tiled map in more projection.
 
 On Thu, Mar 7, 2013 at 4:36 PM, Jason Lee jaslee...@gmail.com wrote:
 Hi all,
 It might seem an odd question but I'll give it a shot - would 
 mod_tile/renderd support the dynamic generation of map tiles in a map 
 projection other than web mercator? If not, then would it be possible/how 
 difficult would it be to modify the code to support it?
 
 The only other thing I can think of is using MapProxy with Mapnik backend but 
 I'm not sure the scalabilty/performance compared to mod_tile.
 
 Thanks and regards,
 Jason
 
 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev
 
 
 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev


michal migurski- contact info and pgp key:
sf/cahttp://mike.teczno.com/contact.html





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


Re: [OSM-dev] Seeking advice for OSM based routing application

2013-03-19 Thread Matt Hoover

 Good find.  I had skipped over mapquest open earlier for some reason, and
 you're right it does work on that one.  However I found some other route
 attempts that would not work on mapquest but WOULD work on YOURS.  How
 confusing.  See image here if you're curious.
 http://i.imgur.com/Rv0UNpa.jpg


To follow up on my own post, in case anybody is reading this in the future
and wondering: I got in touch with both mapquest and YOURS.  The reason for
the hiccup on mapquest is a known bug which will be fixed at some point.
With YOURS, it is a result of outdated map data which will be updated very
soon.
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [josm-dev] JOSM Server and Database

2013-03-19 Thread Dirk Stöcker

On Tue, 19 Mar 2013, Vincent Privat wrote:


Ok thanks, it's much better right now, integrated on the right side of the
front page :)


Ah, you mean my version? I expected someone else to make a better variant. 
Mine was only the kickstarter - I'm not the graphics guy at all :-)


Ciao
--
http://www.dstoecker.eu/ (PGP key available)


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


Re: [josm-dev] JOSM Server

2013-03-19 Thread Dirk Stöcker

On Mon, 18 Mar 2013, Ian Dees wrote:


For the default maps sources externals will not be allowed. That would
disable the security checks.


What security checks are you talking about?


When you save the page, you can't simply save everthing. E.G. the XML 
structure is validated as well as certain options are forbidden to 
change for non-admins.


Ciao
--
http://www.dstoecker.eu/ (PGP key available)


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


Re: [josm-dev] JOSM Server

2013-03-19 Thread Ian Dees
On Tue, Mar 19, 2013 at 6:10 AM, Dirk Stöcker openstreet...@dstoecker.dewrote:

 On Mon, 18 Mar 2013, Ian Dees wrote:

  For the default maps sources externals will not be allowed. That would
 disable the security checks.

  What security checks are you talking about?


 When you save the page, you can't simply save everthing. E.G. the XML
 structure is validated as well as certain options are forbidden to change
 for non-admins.


Those sorts of security checks could be enforced both by the script that
converts from the JSON files to the JOSM XML format and by the admins
merging pull requests from users.

I'm not trying to force a change on JOSM, but I think it would benefit the
OSM community as a whole to consolidate work on this sort of information
that's used by the editor.
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] JOSM Server

2013-03-19 Thread Dirk Stöcker

On Mon, 18 Mar 2013, Simon Legner wrote:


What about re-generating this file on modification and shipping as fast
as possible (using Apache directly, Nginx or Varsnish). Maybe, having a
subdomain for static content might be worth a try (getting rid of
cookies, sessions etc.).


/maps is cached now.

In a test I saw that editing the maps page is awful slow. It really must 
be splitted. Takes about 45 seconds to change the page (after I improved 
the validation, before it took many minutes).


Ciao
--
http://www.dstoecker.eu/ (PGP key available)


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


Re: [josm-dev] JOSM Server

2013-03-19 Thread Vincent Privat
Do you think a split per country would be enough ?


2013/3/19 Dirk Stöcker openstreet...@dstoecker.de

 On Mon, 18 Mar 2013, Simon Legner wrote:

  What about re-generating this file on modification and shipping as fast
 as possible (using Apache directly, Nginx or Varsnish). Maybe, having a
 subdomain for static content might be worth a try (getting rid of
 cookies, sessions etc.).


 /maps is cached now.

 In a test I saw that editing the maps page is awful slow. It really must
 be splitted. Takes about 45 seconds to change the page (after I improved
 the validation, before it took many minutes).


 Ciao
 --
 http://www.dstoecker.eu/ (PGP key available)


 __**_
 josm-dev mailing list
 josm-dev@openstreetmap.org
 http://lists.openstreetmap.**org/listinfo/josm-devhttp://lists.openstreetmap.org/listinfo/josm-dev

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


Re: [josm-dev] JOSM Server

2013-03-19 Thread Paul Norman
 From: Dirk Stöcker [mailto:openstreet...@dstoecker.de]
 Sent: Tuesday, March 19, 2013 12:31 PM
 To: josm-dev@openstreetmap.org
 Subject: Re: [josm-dev] JOSM Server
 
 On Mon, 18 Mar 2013, Simon Legner wrote:
 
  What about re-generating this file on modification and shipping as
  fast as possible (using Apache directly, Nginx or Varsnish). Maybe,
  having a subdomain for static content might be worth a try (getting
  rid of cookies, sessions etc.).
 
 /maps is cached now.
 
 In a test I saw that editing the maps page is awful slow. It really must
 be splitted. Takes about 45 seconds to change the page (after I improved
 the validation, before it took many minutes).

It's also hard to edit a wiki page that long. I've been copying the page out
to a text editor, editing it, the pasting it back in. With the size the page
is I think it should either be split into multiple sub-pages (global,
Americas, Europe, etc) or managed with source code version control. The Wiki
was not designed for a massive XML page.


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


Re: [josm-dev] JOSM Server

2013-03-19 Thread Ian Dees
On Tue, Mar 19, 2013 at 2:49 PM, Paul Norman penor...@mac.com wrote:

  From: Dirk Stöcker [mailto:openstreet...@dstoecker.de]
  Sent: Tuesday, March 19, 2013 12:31 PM
  To: josm-dev@openstreetmap.org
  Subject: Re: [josm-dev] JOSM Server
 
  On Mon, 18 Mar 2013, Simon Legner wrote:
 
   What about re-generating this file on modification and shipping as
   fast as possible (using Apache directly, Nginx or Varsnish). Maybe,
   having a subdomain for static content might be worth a try (getting
   rid of cookies, sessions etc.).
 
  /maps is cached now.
 
  In a test I saw that editing the maps page is awful slow. It really must
  be splitted. Takes about 45 seconds to change the page (after I improved
  the validation, before it took many minutes).

 It's also hard to edit a wiki page that long. I've been copying the page
 out
 to a text editor, editing it, the pasting it back in. With the size the
 page
 is I think it should either be split into multiple sub-pages (global,
 Americas, Europe, etc) or managed with source code version control. The
 Wiki
 was not designed for a massive XML page.


Trying to edit the wiki page is why I started the project to abstract away
the imagery XML into separate files. My GitHub project already breaks apart
the JOSM imagery XML into one file per entry to make it easier to edit and
can be combined back together to build the JOSM imagery XML again.
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev