Skip to content
This repository

Make OSM the default map layer #163

Merged
merged 1 commit into from about 2 years ago

7 participants

Mikel Maron Hapee Robbie Mackay Brian Herbert pr4ka5a Harry Wood Hardeep
Mikel Maron

Hi

Most software users never change the defaults, and in Ushahidi, the includes the default map. This whole community can start off on the right mapping foot by using OpenStreetMap from the start. The quality is definitely at the same level, and often better. The spirits of Ushahidi and OSM share a strong belief in the power of open data.

-Mikel

Hapee

Agree but no clue where I can click on a plus

Deleted user

The content you are editing has changed. Reload the page and try again.

I am a huge supporter of OpenStreetMap, but for crying out loud, can't they make the maps a bit more visually attractive? I would +1 this if that was the case (not that I'm -1'ing it either).

Sending Request…

Attach images by dragging & dropping or selecting them. Octocat-spinner-32 Uploading your images… Unfortunately, we don't support that file type. Try again with a PNG, GIF, or JPG. Yowza, that's a big file. Try again with an image file smaller than 10MB. This browser doesn't support image attachments. We recommend updating to the latest Internet Explorer, Google Chrome, or Firefox. Something went really wrong, and we can't process that image. Try again.

Mikel Maron

there are more attractive renderings of OSM data, like mapquest's http://www.openstreetmap.org/?lat=38.89565&lon=-77.03066&zoom=15&layers=Q. that could be an option for ushahidi default.

the default mapnik rendering isn't design for attractiveness, but to aid mapping. that being said, it could definitely improve.

in the bigger picture, Ushahidi could have it's own rendering ... what features and visual style would be most useful to Ushahidi users?

Deleted user

The content you are editing has changed. Reload the page and try again.

That's awesome - how can we do something similar? Are we allowed to use mapquest's rendering or what will it take to create our own?

Sending Request…

Attach images by dragging & dropping or selecting them. Octocat-spinner-32 Uploading your images… Unfortunately, we don't support that file type. Try again with a PNG, GIF, or JPG. Yowza, that's a big file. Try again with an image file smaller than 10MB. This browser doesn't support image attachments. We recommend updating to the latest Internet Explorer, Google Chrome, or Firefox. Something went really wrong, and we can't process that image. Try again.

Mikel Maron

Should be able to use the MapQuest rendering yes: http://wiki.openstreetmap.org/wiki/MapQuest
It would be worth talking to them, just so we can be clear on their long term support, urls etc.

Creating tiles takes setting up a process to keep up to date with OSM data updates (http://planet.openstreetmap.org/), and a tile rendering infrastructure (http://wiki.openstreetmap.org/wiki/Mapnik). It would take some hardware investment, and admin support. I'm definitely willing to explore that more with Ushahidi if there's interest

... but I would put it at a more medium term goal, before simply making OSM more available via the current tile options.

Deleted user

The content you are editing has changed. Reload the page and try again.

@mikelmaron I'm happy to insert whatever available time I have into this so I think we need to make this happen (the sooner the better). I'll have to check with David/Brian before making any commitments on server resources though.

Right now it's Christmas but could we get back onto this early in the new year?

Sending Request…

Attach images by dragging & dropping or selecting them. Octocat-spinner-32 Uploading your images… Unfortunately, we don't support that file type. Try again with a PNG, GIF, or JPG. Yowza, that's a big file. Try again with an image file smaller than 10MB. This browser doesn't support image attachments. We recommend updating to the latest Internet Explorer, Google Chrome, or Firefox. Something went really wrong, and we can't process that image. Try again.

Mikel Maron

Sure let's chat in the new year ... send me a direct message and we can set up a time to talk.

IMO, first step is to implement something like Chris Blow's map choice screen in the installation process: http://www.flickr.com/photos/unthinkingly/5306122918/

MapQuest Community Layer is probably the best option to push up front, Nestoria just switched to them: http://blog.nestoria.co.uk/why-and-how-weve-switched-away-from-google-ma

Deleted user

The content you are editing has changed. Reload the page and try again.

Sounds like a great idea. I'll send you a PM sometime in the next week.

Sending Request…

Attach images by dragging & dropping or selecting them. Octocat-spinner-32 Uploading your images… Unfortunately, we don't support that file type. Try again with a PNG, GIF, or JPG. Yowza, that's a big file. Try again with an image file smaller than 10MB. This browser doesn't support image attachments. We recommend updating to the latest Internet Explorer, Google Chrome, or Firefox. Something went really wrong, and we can't process that image. Try again.

Robbie Mackay
Owner

I'm happy to help out with the installer changes

Deleted user

The content you are editing has changed. Reload the page and try again.

@mikelmaron Sorry for taking so long to get back to you. I tried to send you a message just now, but GitHub tells me you haven't provided an email address when I hover over the "Message" button...

Sending Request…

Attach images by dragging & dropping or selecting them. Octocat-spinner-32 Uploading your images… Unfortunately, we don't support that file type. Try again with a PNG, GIF, or JPG. Yowza, that's a big file. Try again with an image file smaller than 10MB. This browser doesn't support image attachments. We recommend updating to the latest Internet Explorer, Google Chrome, or Firefox. Something went really wrong, and we can't process that image. Try again.

Mikel Maron
Deleted user

The content you are editing has changed. Reload the page and try again.

@mikelmaron Sorry, seems like there is a separate internal notification / messaging system and that button is just standard email. Never attempted to message someone on GitHub before. :)

Got your address now so will send you mail shortly.

Sending Request…

Attach images by dragging & dropping or selecting them. Octocat-spinner-32 Uploading your images… Unfortunately, we don't support that file type. Try again with a PNG, GIF, or JPG. Yowza, that's a big file. Try again with an image file smaller than 10MB. This browser doesn't support image attachments. We recommend updating to the latest Internet Explorer, Google Chrome, or Firefox. Something went really wrong, and we can't process that image. Try again.

Brian Herbert
Owner

We're going to go ahead and switch the default map to OSM. We'll be adding an additional wizard to the installer (as well as deployment set up process on Crowdmap) so users can make a decision based on coverage in the area they want to center their map on. If they skip that section, they will default to OSM.

Brian Herbert brianherbert merged commit c0a1a5b into from January 24, 2012
Brian Herbert brianherbert closed this January 24, 2012
Mikel Maron
Deleted user

The content you are editing has changed. Reload the page and try again.

Excellent news, great work guys!

Sending Request…

Attach images by dragging & dropping or selecting them. Octocat-spinner-32 Uploading your images… Unfortunately, we don't support that file type. Try again with a PNG, GIF, or JPG. Yowza, that's a big file. Try again with an image file smaller than 10MB. This browser doesn't support image attachments. We recommend updating to the latest Internet Explorer, Google Chrome, or Firefox. Something went really wrong, and we can't process that image. Try again.

pr4ka5a

bright idea :)

Harry Wood

That is great news. It's been a long time coming, but it's completely logical that ushahidi should default to OpenStreetMap, not just because we're philosophically aligned in terms of open data, but because OpenStreetMap is usually better, or can quickly become better than google in disaster struck regions.

Hardeep

Good news I got on our (India) Republic Day :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Dec 20, 2011
Mikel Maron Make OpenStreetMap the default map layer. ea5c9ca
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  sql/ushahidi.sql
2  sql/ushahidi.sql
@@ -729,7 +729,7 @@ CREATE TABLE IF NOT EXISTS `settings` (
729 729
     `cache_pages` tinyint(4) NOT NULL DEFAULT '0',
730 730
     `cache_pages_lifetime` int(4) NOT NULL DEFAULT '1800',
731 731
     `private_deployment` tinyint(4) NOT NULL DEFAULT '0',
732  
-    `default_map` varchar(100) NOT NULL DEFAULT 'google_normal',
  732
+    `default_map` varchar(100) NOT NULL DEFAULT 'osm_mapnik',
733 733
     `default_map_all` varchar(20) NOT NULL default 'CC0000',
734 734
     `api_google` varchar(200) default NULL,                                         
735 735
     `api_yahoo` varchar(200) default NULL,                                          
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.