Re: [OSM-talk] SoC 2009 - static maps API - prototype version
Hi all According to feedback I recived I have add some new featurs to static API. So now there is a better way of controlling how drawings are drawn (transparence, thickness, color could be defined for each object separately, there is a way to put image onto the map). It is also possible to put scale bar and to put map request parameters into a file instead puting them into url (take a look at *paramFileUrl *in API description) etc. http://dev.openstreetmap.org/~pafciu17/ Let me know your opinion:) Paweł* * ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] SoC 2009 - static maps API - prototype version
Maybe I'm wrong, but it looks to me like the attribution is not correct, you must also mention CC-BY-SA! Jonas Am 17.07.2009 um 01:57 schrieb Paweł Niechoda pawel.niech...@gmail.com: Thanks for respond!! W dniu 16 lipca 2009 17:36 użytkownik Jochen Topf joc...@remote.org napisał: Hi! On Thu, Jul 16, 2009 at 04:18:35PM +0200, Paweł Niechoda wrote: My name is Paweł Niechoda and I am a student who is involved in Go ogle SoC 2009. I am working on project: OSM static maps API. I know that asking end-users for feedback is always the best way to improve application. So I am doing it. Here you can find the description of the prototype version of the API: http://dev.openstreetmap.org/~pafciu17/ and examples how API works. Please feel to send me any comments or sugestions for new features. By doing this you would help me a lot with my work. Looks very promising! Two small comments: * I suggest to allow giving center by lat=...lon=... instead of (or in addition to center=...) Thats the format used most widely and it has the advantage on not relying on the order of the longitude/ latitude coordinates. Yeah, you are right, it is nice just to specify center point by giving lat and lon params. So I added that possiblity, now there are two ways, you can use either lat and lon or just center. * type for the ti...@home-map should be osmarender (not the a). Done I am a bit concerned about the format of the points and paths. Its very hard to see anything if all seperator characters are commas. Maybe have a look at the Well-known text format (http://en.wikipedia.org/wiki/Well-known_text ) as another option. Might be a bit easier to read, on the other hand having spaces in URLs is also bad. Your choice. :-) I have had a look at Well-known text format, for sure it would be nice to support it. As you mentioned it looks nice. I will remember about it. Now I think there are some others more important issues to work on. Jochen -- Jochen Topf joc...@remote.org http://www.remote.org/jochen/ +49-721-388298 thank you again for comments:) ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] SoC 2009 - static maps API - prototype version
Hi! On Thu, Jul 16, 2009 at 04:18:35PM +0200, Paweł Niechoda wrote: My name is Paweł Niechoda and I am a student who is involved in Google SoC 2009. I am working on project: OSM static maps API. I know that asking end-users for feedback is always the best way to improve application. So I am doing it. Here you can find the description of the prototype version of the API: http://dev.openstreetmap.org/~pafciu17/ and examples how API works. Please feel to send me any comments or sugestions for new features. By doing this you would help me a lot with my work. Looks very promising! Two small comments: * I suggest to allow giving center by lat=...lon=... instead of (or in addition to center=...) Thats the format used most widely and it has the advantage on not relying on the order of the longitude/latitude coordinates. * type for the ti...@home-map should be osmarender (not the a). I am a bit concerned about the format of the points and paths. Its very hard to see anything if all seperator characters are commas. Maybe have a look at the Well-known text format (http://en.wikipedia.org/wiki/Well-known_text) as another option. Might be a bit easier to read, on the other hand having spaces in URLs is also bad. Your choice. :-) Jochen -- Jochen Topf joc...@remote.org http://www.remote.org/jochen/ +49-721-388298 ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] SoC 2009 - static maps API - prototype version
Hi Paweł, Looks great! Just a few comments: 1) Perhaps add shadow to attribution or background opacity to attribution area, as it can be hard to read when on top of country names. 2) For small images (e.g. 200x200) the OSM image is quite large in relation to the image. Perhaps it could be smaller for smaller images. 3) An optional scale bar could be useful. 4) I know lat long/lon/lng has already been mentioned rather than center=, google choose to use ll=... for coordinates. It's short and sweet. 5) It would be nice to specify what logo/url is used for each point. 6) It would be nice to change the thickness of paths. 7) It would be nice to specify different colours for each point/path? 8) I am sure you have this in mind, but caching output images would be very useful. Some users are likely to hardcode a static image into their website, and exactly the same image may be requested many times. Keep up the good work! Andy Paweł Niechoda wrote: Hi all My name is Paweł Niechoda and I am a student who is involved in Google SoC 2009. I am working on project: OSM static maps API. I know that asking end-users for feedback is always the best way to improve application. So I am doing it. Here you can find the description of the prototype version of the API: http://dev.openstreetmap.org/~pafciu17/ http://dev.openstreetmap.org/%7Epafciu17/ and examples how API works. Please feel to send me any comments or sugestions for new features. By doing this you would help me a lot with my work. Regards Paweł Niechoda ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] SoC 2009 - static maps API - prototype version
Looks great! Do you have any thoughts of doing actual Mapnik renders for these, or do you foresee doing strictly tile-based constructions? You may also be interested in the Modest Maps python branch, since it overlaps quite strongly with this work: http://modestmaps.com/examples-python-ws/ Anyway very cool. =) -mike. On Jul 16, 2009, at 7:18 AM, Paweł Niechoda wrote: Hi all My name is Paweł Niechoda and I am a student who is involved in Google SoC 2009. I am working on project: OSM static maps API. I know that asking end-users for feedback is always the best way to improve application. So I am doing it. Here you can find the description of the prototype version of the API: http://dev.openstreetmap.org/~pafciu17/ and examples how API works. Please feel to send me any comments or sugestions for new features. By doing this you would help me a lot with my work. Regards Paweł Niechoda ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk michal migurski- m...@stamen.com 415.558.1610 ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] SoC 2009 - static maps API - prototype version
Looks great! Do you have any thoughts of doing actual Mapnik renders for these, or do you foresee doing strictly tile-based constructions? You may also be interested in the Modest Maps python branch, since it overlaps quite strongly with this work: http://modestmaps.com/examples-python-ws/ Anyway very cool. =) -mike. On Jul 16, 2009, at 7:18 AM, Paweł Niechoda wrote: Hi all My name is Paweł Niechoda and I am a student who is involved in Google SoC 2009. I am working on project: OSM static maps API. I know that asking end-users for feedback is always the best way to improve application. So I am doing it. Here you can find the description of the prototype version of the API: http://dev.openstreetmap.org/~pafciu17/ and examples how API works. Please feel to send me any comments or sugestions for new features. By doing this you would help me a lot with my work. Regards Paweł Niechoda ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk michal migurski- m...@stamen.com 415.558.1610 ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] SoC 2009 - static maps API - prototype version
W dniu 16 lipca 2009 18:02 użytkownik Andy Deakin andy.dea...@pcmend.netnapisał: Hi Paweł, Looks great! Just a few comments: 1) Perhaps add shadow to attribution or background opacity to attribution area, as it can be hard to read when on top of country names. 2) For small images (e.g. 200x200) the OSM image is quite large in relation to the image. Perhaps it could be smaller for smaller images. Yes, I am thinking how to do it. I wanted to create easy way of choosing logo which is added to the map. Now osm logo image is taken from the file which is put onto server, so logo can be easily changed by replace that file. Scaling down logo image is not good idea, it would lost his quality. So mabye it should be two version of logo image, normaln size, and small one. I will think about it. 3) An optional scale bar could be useful. Yeah, it is great idea, I didn't think about it before. 4) I know lat long/lon/lng has already been mentioned rather than center=, google choose to use ll=... for coordinates. It's short and sweet. 5) It would be nice to specify what logo/url is used for each point. 6) It would be nice to change the thickness of paths. 7) It would be nice to specify different colours for each point/path? 8) I am sure you have this in mind, but caching output images would be very useful. Some users are likely to hardcode a static image into their website, and exactly the same image may be requested many times. Thanks for ideas, I am starting to implement all of them. Keep up the good work! Andy Paweł Niechoda wrote: Hi all My name is Paweł Niechoda and I am a student who is involved in Google SoC 2009. I am working on project: OSM static maps API. I know that asking end-users for feedback is always the best way to improve application. So I am doing it. Here you can find the description of the prototype version of the API: http://dev.openstreetmap.org/~pafciu17/http://dev.openstreetmap.org/%7Epafciu17/ http://dev.openstreetmap.org/%7Epafciu17/ and examples how API works. Please feel to send me any comments or sugestions for new features. By doing this you would help me a lot with my work. Regards Paweł Niechoda ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk