blogs.openstreetmap.org

Souscrire à flux blogs.openstreetmap.org
Blogs.OpenStreetMap.org - http://blogs.openstreetmap.org/
Mis à jour : il y a 28 min 51 sec

"OpenStreetMap.org User's Diaries": Efficiently merging government park boundaries in JOSM

il y a 1 heure 29 min

Lately I've been working on merging my county's park data into OSM using JOSM (this is more technically known as conflation). I've also been modifying JOSM and some plugins to try and improve the efficiency with which I do this, considering the county has 22,500 acres of parkland in 416 parks, not counting the parks which the county does not operate, but for which the county still has boundary data. I thought I'd share my process so far, in hopes that others with similar tasks might find some useful tips, and perhaps learn how others accomplish similar tasks or how I might be able to improve my process. Be sure to at least have the utilsplugin2 plugin installed.

First of all, I converted the government-provided (and appropriately licensed) Shapefile to an OSM.XML file using ogr2osm and a simple translation script to set the name, operator, and leisure=park tags.


  1. Create new layer (blank)

  2. Open government OSM file

  3. Select and zoom to a feature to merge (click and press 3)

  4. Merge feature to OSM layer (Ctrl+Shift+M) and delete (D) from government layer

  5. Switch to OSM layer (Shift+A, then 1)

  6. Download corresponding area from OSM database (Ctrl+Shift+D)

  7. The next step will vary:

    • If the feature doesn't exist in OSM yet, then you're done

    • If the government feature is of higher spatial accuracy, select the two features and run Replace Geometry (Ctrl+Alt+G), resolving any tag/membership conflicts

    • If the government feature doesn't have better spatial accuracy, but has better tags, copy and paste them (Ctrl+C on the government feature then Ctrl+Shift+V on the OSM feature), then delete the government feature



  8. Switch back to the government layer (Shift+A, then 2)

  9. Repeat with next feature, go to step 3

Note that the Replace Geometry action can "upgrade" a node to a way or to a relation, or replace a way with a way. It can't yet "upgrade" a way to a relation or replace a relation with a relation, but those are on my TODO list.

One obvious way to improve this include downloading a large area at once, though this may be problematic if the features are spread over a very large area. I really should get back to working on the conflation plugin I started almost a year ago, but got stuck on the design.

How many others are doing this kind of merging? Any suggestions?

"OpenStreetMap.org User's Diaries": Temecula California Countryside/Night of the Living Maps

il y a 1 heure 55 min

Good Day from Temecula, California!

A few weeks ago, I stumbled across the Night of the Living Maps Project:
http://wiki.openstreetmap.org/wiki/Night_of_the_living_maps

If anybody's thinking about jumping aboard an all nighter on OSM on Tuesday night, here's what approximately 8 mapping hours worth of JOSM Bing traces would look like in the open country for a single mapper (the area started off with TIGER and GNIS data):

http://www.openstreetmap.org/?lat=33.5693&lon=-116.9703&zoom=14&layers=M

Sorry folks, this Temecula mapper can't be a zombie during the week...gotta work! But I've gave this countryside area east of Temecula nearly 8 hours of attention during last several days in dedication to Night of the Living Maps and plan to finish the rest of the Benton Road segment soon. Have fun on Tuesday!

Will be back in town wrapping up the detailed mapping of Temecula's Pechanga Parkway corridor once Benton Road is done.

Tip: Make sure you have an updated JOSM version with the 'F'-key shortcut feature which will make connecting the nodes of all of those natural areas much faster.

"OpenStreetMap.org User's Diaries": Perfection Of Beauty Hair Gallery

sam 4 fév 2012 - 20:29

Perms, relaxers, weaves, braids, highlights, coloring, keratin treatment, brazilian treatment, pedicures, manicures, hair stylist needed

http://perfection-of-beauty-hair-gallery-plantation.helpbank-advertising.com/
Tues-Thurs 9a-6p Fri 9a-7p Sat 9a-5p closed Sun & Mon

"OpenStreetMap.org User's Diaries": Roberta Stuart, SFR RE/MAX Action Realty

sam 4 fév 2012 - 20:22

Realtor, realty, homes for sale, real estate, nj, monmouth, 07748. 07704, 07733, 07760, 07701, 07730, 07716, 07739, 07738

http://www.robertasellsjerseyhomes.com/
Mon-Sun 8:30a - 8:30p

"OpenStreetMap.org User's Diaries": Pauline's Italian Cuisine

sam 4 fév 2012 - 20:14

Italian cuisine, catering, events, seafood, steaks and chops, byo

http://www.paulinesrestaurant.com/
TUES WEDS THRSS 5P-9P FRI AND SAT 5P-10P SUN 4P-9P

"OpenStreetMap.org User's Diaries": First route libre

sam 4 fév 2012 - 20:08

Hello,

Ma première carte… on verra ce que ça va donner.

En tout cas, vive le Logiciel Libre!

Jean-Martial

"OpenStreetMap.org User's Diaries": Hawkins Wellness

sam 4 fév 2012 - 20:06

Oxygen enhanced water, alkaline water, healthy coffee, hot chocolate, green tea, biomat detox, miracle ii soap products

http://hawkinswellness.com/
Mon-Sat 10a-? and By Appointment

"OpenStreetMap.org User's Diaries": Scissors

sam 4 fév 2012 - 20:01

A full service hair salon. We specialize in unique hair styles for the discriminating woman. We also perform manicures and pedicures as well as offer a line of jewelry for sale.

http://scissors-syosset.helpbank-advertising.com/
TUE & WED: 9AM - 6PM, THR - FRI: 10AM - 8PM

"OpenStreetMap.org User's Diaries": The Board Room Surf Pub

sam 4 fév 2012 - 19:53

A great local sports bar and pub. Incredible pizzas, salads and sandwiches. Live entertainment and a kids' menu, too!

http://www.theboardroompismo.com/
Monday thru Sunday 11:30a - close

"OpenStreetMap.org User's Diaries": Dr Shannon Parks, D.O.

sam 4 fév 2012 - 19:48

Women's mental health reproductive psychiatry. Dr. Parks is a Central New Jersey area psychiatrist specializing in comprehensive women's mental health. Her individualized approach to patient care encompasses a woman's emotional experiences, life circumstances, and biological and hormonal makeup. Dr. Parks believes that every person deserves individualized personal medical care. She strives to maintain a partnership with her patients.

http://www.drshannonparks.com/
MON APPT ONLY,TUES & WEDS 1P-8P,THURS 4P-8P

"OpenStreetMap.org User's Diaries": C and C Printing

sam 4 fév 2012 - 19:44

We offer full business printing. We specialize in screen printing, embroidery, banners, signs, and promotional items for your company. We provide service to schools, churches, sport teams and more. You think it, we'll ink it!

http://c-c-printing-bakersfield.helpbank-advertising.com/
MON-FRI 8A-5P SAT 10A-2P

"OpenStreetMap.org User's Diaries": Off The Hook

sam 4 fév 2012 - 19:34

Off the Hook is located in historic Highlands, New Jersey, the "Gateway to the Jersey Shore". We offer an extensive menu including daily specials, an outdoor Tiki Bar and outdoor dining. We also have private party rooms for any private event. A great place to enjoy the view of the Atlantic Ocean.

http://www.offthehookhighlands.com/
Mon-Sun 11:30 am-4:00 pm lunch; dinner 4:00 pm; bar open late

"OpenStreetMap.org User's Diaries": On The Deck

sam 4 fév 2012 - 19:29

On the Deck, located in Highlands, NJ directly in front of the Sea Streak NYC ferry features outdoor dining and an outdoor bar with views of the Shrewsbury River, NYC skyline and Varrazano Bridge. We offer a warm, casual atmosphere, nightly dinner specials with an extensive menu. The perfect place on the Jersey Shore for lunch, dinner, happy hour or any special occasion.

http://www.onthedeckrestaurant.com/
Mon-Sun 11:30 am-4:00 pm lunch; dinner 4:00 pm; bar open late

"OpenStreetMap.org User's Diaries": P&J Tire And Auto LLC

sam 4 fév 2012 - 19:25

All auto repair and diagnostics. We also install transmissions, repair and sell tires. Wrecker services available. We are a certified Napa auto care center, serving all of the New London and Wyndham areas.

http://www.pandjtireandauto.com/
MON - FRI: 8AM - 5PM, SAT: 8A-1PM

"OpenStreetMap.org User's Diaries": Sheip --> OSM

sam 4 fév 2012 - 16:49

Вчера встала проблема переконвертировать данные из Шейпа в ОSМ. JOSM напрямую хавать шейп не захотел. Выход: Затянул шейп в Оззи Эксплорер из Озии опять экспорт в GPX формат а из него уже в ДЖОСМ.

"OpenStreetMap.org User's Diaries": GOALS

sam 4 fév 2012 - 8:01

My goals are to update and correct the map of the Southern Peninsula of Cape Town which is a fairly high density tourist area.

Just around my own small suburb I have already done about 80 changes so this will be a long term project!

A questions:-
-I have found and removed about 10 "blank" nodes, is that OK?

"OpenStreetMap.org User's Diaries": Cenotes e Iglesias

sam 4 fév 2012 - 1:27

He estado observando que en OSM, no hay logotipos para iglesias o sitios de culto de la cristiandad y cenotes (cierto tipo de lagunas). Ojalá alguien pueda crear los símbolos.

Sven Geggus: A Mapserver backend for Tirex

ven 3 fév 2012 - 23:01

When rendering maps people coming from a traditional GIS background tend to use Mapserver rather than Mapnik. I don’t know the reason for this, but it is probably just because Mapserver is quite mature and has been around for a long time while Mapnik is still relatively new.

I also did quite a few things using Mapserver in the past but mostly in the WMS and raster data area.

One thing Mapserver can do is rendering based on data values rather than just by predefined rules, which could be quite useful for river widths and the like. This was not possible in Mapnik at least not in Mapnik versions < 2.0.

Mapserver is scriptable in a couple of languages (not just Python) and this is why it has been relatively easy coding a new backend for Tirex although Perl is not quite my favourite scripting language. Of course this new backend is heavily based on the existing WMS backend.

So why did I do this? Well, last week I just stumbled upon the nice Topomap project which Max Berger is doing and unfortunately he map is limited to a very small area.

Hopefully I will be able to provide a map of this style for a couple of other areas real soon now. I’m especially interested in islands with good hiking options, the so called Wanderinseln in German.

I just commited the changes to the Openstreetmap SVN-repository in the hope that it might be useful for others as well.

BTW, Max is using TileCache which I could probably use as well. Probably someone can enlighten me about the pros and cons of Tirex vs. TileCache.

Pages