Recent diary entries
I have just released the first stable (and complete I hope) version of my gpxupload.py script for Python2.7. It reads the GPX files, and analyses the tracks against boundary data in OSM using Overpass, before tagging the script and uploading to your OSM account. It have (as far as I have been able to identify/test) rules for all countries (admin_level=2) currently in the OSM database.
I have done an extensive investigative work to identify the boundary hierarchy in every country, in order for the script to tag as correctly as possible, without testing unnecessary or non-existent levels, testing hieratic in order to do as few tests as possible. I also noted that building Shapely objects for each test was time (and memory) consuming, so I also enabled caching and retrieving the objects from cache using WKB (well known binary) formats, the result is that for a fully cached area, a complete boundary test of a normal length track requires less than 5 calls to Overpass. Longer tracks might still need more calls, and building cache need a lot of traffic to overpass. The script also load-share between the 3 overpass servers with global coverage, and adding further servers should be a small task.
Any suggestions for improvements for the script are welcome. One of the main goals with it have been to get a better understanding of Python2.7, Shapely, and Overpass, and I feel I have succeeded in that task. Any feedback appreciated.
Now that much of Guarapari have had buildings designed (the rest probably being added shortly as there is a drawing frenzy going on), and I am alone with the dog, than I have been looking for something useful to do. Luckily there is something called FieldPapers where I can print out small maps, put them on a clip board, and make notes as I walk the dog. That would mean I would need to walk the dog in different routes every day in order to cover more ground, but so be it. I am ready for my first test now, the streets around my house. Goal: harvest addresses and floor numbers for all mapped buildings.
My son have just completed a globe based on Sérgio's map. Still some minor flows in our work process, but watching how he enjoyed it, and how satisfied he was with the result, I guess there will be more of these. Probably need to look into thicker paper, and a more suitable glue. First round kept my kids busy for one weekend. I had to interact at several stages, i.e., he needed help with the outline of Russia and Canada, he was not sure he was able to cut the lines himself, and with the glue we used, I had to do the gluing while he watched.
Data sources are becoming so detailed, and the community are still growing, this results in even more spectacular data on the map.
Just take a look, Mapillary coverage allows for a lot of details to be added, such as several shops, bars, banks, restaurants, fast-food places, are easily identified and added. Combining Bing, MapBox and other sources of vertical images allows us to draw buildings, and combining these buildings with Mapillary, we can add information allowing for spectacular 3D rendering (see here and here for 3D examples).
Also, the renewal of the public transport license resulted in data about bus routes being released, unfortunately, the data set was not complete, so some surveying will still be needed to complete the datas, but for now, something is available here.
The surrounding land have been covered with woods, meadows, farmlands, marches, mangrove, and more.
All in all, the map is developing quickly, just 8 years ago, this was a clean sheet.
I was challenged to find a way to mount my Garmin VIRB in such a way that it avoids the glare from the windshield, and that no part of the car is captured. After thinking hard about how to do it, I started looking for material to make it. Unfortunately the plastic and rubber I thought I needed was only sold in 10 square meter pieces, too expensive to be a reasonable solution, so I started looking at alternatives.
So I found a plastic and rubber tool for tile laying, and made a few cuts, so I could clamp it on the front of the hood, glued the VIRB socket mount to the plate, and drilled a few holes so that I could tie some strings to it.
I have done a small driving test (without securing strings, and without charging cable), and are satisfied with the result, and noted in lessons learned, that the securing string is necessary. The mount slowly slid out due to vibrations and gave my VIRB a flying test, luckily no traffic at the spot and I was able to stop immediately. No damages to VIRB or mount.
Total price for the Mount: 15 BRL (~5USD)
I live in a tourist town, a town that in its sleepier time of the year hardly have parking enough for the commercial downtown area to function, let alone when 300.000+ tourists invade the city for new year.
Take a look at the picture below. This is taken from my office window late on the 1st of January. The majority of the parking madness have left.
The yellow square shows the last of 5 cars parking in a space large enough for 3, it is not signed as a parking area.
The blue square shows a car parked in front of a garage, but what a direction? Breaking pattern?
The red square shows a car parked on the sidewalk, there where up to 6 cars parked like this during the day, and I counted a total of 20 cars parked like that.
Doesn't seem to help calling the police to remove illegal parked vehicles, they are too busy doing that 200 meters down the road (in front of the banks and restaurants), and politicians doesn't care much since these tourists are bringing in money to fill their pockets.
I have started gathering a lot of images with Mapillary. I have managed to secure my iPhone in an improvised way to gather tracks while I drive while I am waiting for the arrival of my Garmin VIRB Elite. In the meantime I have installed the upload scripts on my computer, and are now looping it to get all my images up.
That brings me to a question, in Vitoria there are some main roads that changes restrictions during the week. See attached photo (link to Mapillary).
The red line defines the rightmost lane as a dedicated cycleway on Sundays from 07:00 to 15:00, that same line are Bus Priority Lane the rest of the week, while some parts of it are Bus Only Lane in rush hours. The same lane is straight_on/right_turn on intersections where you can turn right, while the middle lane have this option when right lane is cycleway. Left lane is straight_on/left_turn on intersections where you can turn left unless a dedicated turning lane is present, in this case it is straight_on_only.
My question is than, how is a restriction like this tagged?
The road is already:
name=Avenida Saturnino de Brito
When writing this I am on the airport waiting to board my flight to Buenos Aires where I will take the Boquebus to Uruguay, where a job awaits me in Nueva Palmira. The town of Nueva Palmira have no POIs mapped as far as I could see, so there will for sure be added a hotel and maybe some restaurants, banks, and whatever I manages during my off hours. I still do not know for how long I will stay there.
I have during the last couple of weeks been testing routing integrity in OSM, mainly in Brazil, with both short distance routing and long distance routing.
I download the maps from Garmin.Openstreetmap.Nl, and install them into my BaseCamp for Mac.
Except for a few cities that are notoriously difficult to route, short distance routing goes easily, while long distance routings was somewhat trickier. After moving around with the routing modes I created 4 different modes I use. Shortest and Fastest for short distance routing, and No Toll and OSM Test for long distance.
After testing with versions 01-10-2014 and 30-10-2014 I had serious problems getting out of Belo Horizonte/MG in directions east and northeast, all routing from BH to state capitals between (and including) Vitoria and Fortaleza went via Rio de Janeiro (actually Magé/RJ). Just now got the latest map downloaded (03-12-2014) and it seems like BH have been fixed, though I am getting a few other errors. It is too early to say yet if that is based on bad data or something else.
After staying on various vessels moored alongside Caix de Paul, Peiú Terminal, Vila Velha, I discovered that there is some form of unregulated ferry service from a point near Caix de Paul over to Vitória. This service is unofficial, unregulated, and most likely illegal.
The service is operated with two or three wooden row boats, bringing up to 6 passengers for each passage. From the side of Vila Velha there is some form of passageway or footway leading to the boarding point, while I believe that on Vitória side the access is with a vertical stepladder leading from a public sidewalk/walkway down to the water. It have just been works on extending a public pier in that area, and I am unsure of where the actual boarding point is, and how to get access to the boats.
I am onboard FPSO Brasil. What does this have to do with mapping? Actually not much, really. I have internet access, but various services is blocked, so I cannot do any mapping or chat with mappers, so I am kind of stuck here. But if we are going to be "mappy" about this, than actually I can turn this into something of a geospatial font. The project I am working on is to remove FPSO Brasil from its moorings (hopefully without dropping the mooring lines ontop of the wrack of P36. What do I gain in terms of mapping from this?
- I will know the exact date (and time) when the FPSO is taken off its moorings. The node marking the position is in the database, and should than be removed.
- I might get the exact co-ordinates of the P-36 wreck. I don't think this is in the database. It is still premature to say if I can import that position though, but since water depth on the location is 1260 meters, the wrack does not impose any form of hazards, nor works as any form of artificial reef or fish haven, except that it is a large obstacle for installing subsea infrastructure on the Roncador field.
- Since this requires a few trips between my home place and Campos, I will be able to gather a few GPS tracks and validate a little road data integrity. On my way south yesterday I noticed lots of work ongoing on BR-101, mostly asphalt repairs, but there is a bridge repair where a secondary bridge have been installed, this might be early step of duplication of that stretch of road. I might get a few more hotels in and around Campos because of this (I will check if Terazzo was on the map when I upload the GPX track)
- I still don't know how and where I will get back to dry land when the FPSO have been disconnected and is on its way, I might be among the people going off by helicopters, so I might end up in any one of several heliports serving the Campos Basin (Campos, Farol de São Tome, Macaé, Cabo Frio), or I might be basket-lifted to another vessel and brought to any port in the area (Rio de Janeiro, Macaé, Vitória), which might mean new interesting GPX tracks.
With the descent addition of IBGE layers in JOSM, and the improvement in Bing imagery, as well as improved quality of MapBox Satellite imagery, the speed of tracing have increased.
By using the layer "IBGE Mapa de Setores Urbanos" I quickly can fill in street names as I trace. The layer is somewhat misaligned, and limited only to urban areas, but recognising the shape of streets close is a good way of combining the names onto the right street. A few places additional information, such as schools, churches, health stations, etc are noted on the map. I increase this information as much as possible.
By using the layer "IBGE Mapa de Setores Rurais" I get information such as main road nomination (ref-tag) on rural roads, names on rivers, streams, and other waterbodies, important industries, names of villages and fazendas (ranches), and some other landscape features. Many peaks are named and heights noted. This layer is almost perfectly aligned, but tracings should still be done from Bing or similar. Areas where three-cover makes it difficult to identify the trace of roads and rivers I switch back between this layer and the satellite layer in use.
MapBox Satellite have improved their coverage worldwide, and in some places their images are of newer date and better resolution than Bing. There are still large areas missing Bing (some small parts of it have MapBox coverage), but these areas are slowly shrinking, and hopefully we get to trace all of Brazil soon.
I still have the file with IBGE addresses, though with the addition of the two IBGE layers, this archive is almost not needed. I still have it at hand in order to add street names in rural areas, where I don't get satisfactory information from the other sources.
Details are coming to the map all over Brazil as a result of these new layers and improved imagery, now I hope that some of the help we get from outside also tries out these layers. I know that accents are missing on most parts, but that is a minor problem, routing is not depending on it anyway.
There have been a lot of changes to my life since last post. I have changed job, my new job will give me quite some traveling around, mostly in Brazil, but might also be some travels abroad. Much of this travel will be with hired drivers (taxi, VIP service, etc), mainly between communication hubs and ports. Since I had my new GPS last July I have brought it with me, partly to test the data quality where I travel (I have OSM maps installed, latest update from garmin.openstreetmap.nl ), partly to gather tracks, along with recording POIs with Go Map!!
Further I played around with Java/Eclipse, and got some basic Java into my fingers, I hope I can get something useful out of this soon (might or might not be OSM related)
By getting myself a Macbook Pro computer I extended this to Xcode (the platform for iOS (iPad/iPhone) apps), and will try to make some useful/interesting apps for these platforms - might be a mapping tool, might be a navigation tool, might be a game
If anybody have some GIT/SVN repositories for any Java/ObjC/Xcode OSM related projects, let me know, so I can be connected with it, so much interesting to learn within these fields.
We have just changed our car, the new vehicle is a Chevrolet Cruze, which is the new family car, that will bring us around when visiting people, going on holidays etc. The car came with a multimedia/navigation system, which I can use to compare maps when traveling (against my GPS unit)
We have plans of getting another car, maybe a Chevrolet Montana, a pickup that will be used mostly for work related activities (and some outdoor activities as well)
My wife have recently been on a holiday in Europe, and one of the things she brought back was a Garmin Nüvi 50 Car Navigation System (with preinstalled maps of western Europe with speed camera information). Western Europe map is close to useless for me, so I quickly dived into the fountain of wisdom called the OpenStreetMap wiki, as well with other GPS and Garmin sources
After trying a bit different sources, copying maps in different formats to different places on my GPS I found the following to work:
- Go to Garmin Dashboard WebResource
- Install the plugin they suggest
- Go to garmin.openstreetmap.nl
- Select the map regions of your interest, along with stylesheet, etc, and generate
- Download the gmapsupp.img file, zipped
- Unpack it to Garmin Device root.System\ folder
- Replace your gmapsupp.img over the existing gmapprom.img
I liked the interface of garmin.openstreetmap.nl, the only thing that wasn't completely clear to me was source age (are they generated from minutely updates? daily updates? weekly updates?
I am now just looking for an opertunity to take my GPS for a spin to see how good the maps are. AND: When I see something wrong on the GPS, I can take up my iPhone or iPad and correct it on the fly with Go Map!!, that way next time I download a map, it's already corrected.
Next step will be to find out how I get POI displayed in a zane way on my Garmin Nüvi 50 device
I am running out of motivation of doing any organized mapping. Partly because things I have wanted to do is coming to an end (I have reached the bottom of the stack of available data from the Brazilian hydrographic, and have traced most of the area surrounding Guarapari, and added most street names according to IBGE in the vicinity of Guarapari, etc.) Also it slows down my work with the INT-1 tags, as I am getting to a point where high technical knowledge of Inkscape and defining how much additional data should be availlable in the tagging preset, etc. Also while I am onboard it is limited how much I can test features with Go Map!! as the wireless data connection have limited bandwidth, divided by too many users,
The result have been that the last few weeks I have done random tracings, both Bing, and IBGE addresses, around Espírito Santo, mostly in the area of Grande Vitoria, but also some random edits further out. Closer to Grande Vitoria I have also worked my way around some landuse and natural landcover, getting woods and agricultural land as well as a little industry on the map. I hope that the increase in colours on the map can help recruiting more people to the project, and getting even more colour on.
Further, the more street names that get onto the map, the better routing works.
Also the more complete the map is with seamarks, the more value it gets as an alternative to commercial navigational maps for the hobby navigator. I know OpenSeaMap is actively working improving their interfaces and additional data layers such as harbour and marina guides, depth sounding database, etc. Looking forward to seeing the new base layer with more maritime friendly colours.
Yeah, and my possition is a little approximate, I am currently on vessel waiting in line to take fuel at a tanker moored in the southern Campos Basin, at Petrobras Tanker Mooring no 6 (bla bla bla yeah I know safety bla bla bla accident waiting to happen bla bla bla)
I am back at work, that means I will be able to do some more focused work.
The beta testing of an iOS editor (working name was OSMiOS, final name became Go Map!!) have allowed me to do random editing on lazy hours. As Go Map!! Is getting closer to official release (currently awaiting pre-release review by AppStore), and significant improvements done in the usavility of the app, I believe I can in near future have close to daily contribution to the project.
For the upcoming weeks I plan to continue my seamark importation, will complete coastal seamarks, and hopefully do a good impact on inland seamarks. Parallel with this I will improve my INT-1 tagging preset, mappaint style, and icon library, as well as some other preparations for other imports (still lot of work with IBGE Census addresses of Espírito Santo)
I will also if time permits, look at some documentation, such as continuing translation of Key/Tag wikipages to Portuguese, updating status on wikipages for areas I work, add more Brazilian information to SkipperGuide.com
There are preparations under way at OpenSeaMap.org to get a more nautical base map rolling, I am taking part in that process (this far mainly via mailing list, but also have submitted a MapCSS file for test purposes), I will continue on that process, either purely as a professional advisor, or more actively with edits to the style sheet.
After leaving a comment in another diary entry here, I was contacted by the developer of OSMiOS, a new, and after a quick examination of features, probably the most complete OSM editor for iPhone and iPad.
I was invited as beta tester and promptly installed the necessary gadgets and the app. A first glance on it shows me that it is as close to a JOSM replacement on any mobile device I have used. The features I have missed in Mapzen POI collector and PushPin is included, at least as far as the developer have been able to date, and it also allows for bulk upload of changes (rather than in place of uploading each change on the fly, this editor actually work offline, just like the more complete editors we all are familiar with)
Another feature that looks promessing is that it allows for downloading Bing aerials for offline editing. That will be of good help when preparing for edits on trips where I know mobile coverage will be limited (see previous post). The only obstacle it doesn't overcome yet is where it is lack of Bing coverage.
Also, the tag presets is probably the most complete with regards of predefined presets, and if the tag you are looking for is still missing, there is an "all tags" tab that allows you to manually edit, add, and remove any tag, even those unknown to presets.
After less than one day testing, I am very much satisfied with the program, I have sent one feedback with minor topics to the developer, and as it looks now, this will soon be the closest to JOSM you'll get on any mobile device
I have known for about a week that my main employer wanted to change my work schedule, but because of contract of the vessel I worked on I didn't expect to get home at all until February.
That suddenly changed, my vessel went alongside in Rio de Janeiro late Friday night, but this close to christmas air fares was impossible to get, resulting in VIP transport, 9 hour drive along BR-101, from Rio de Janeiro to Guarapari.
I used the opertunity to do a stress test of my new iPad/PushPin.
Upon departure from Triunfo terminal, near Pier Maua, and the access to the bridge Rio-Niteroi, my iPad was close to fully charged. I had forgotten the car charging plug at home, or rather left it with my wife as we have only one, I had no chance to charge my iPad during the trip.
I added features along the highway as I observed them, using the download feature to ensure I did not create duplicates.
I probably got half of the gas station along the stretch Niteroi - Casimiro de Abreu (shortly after there phone coverage is lacking, and when phone returns quickly bing coverage for support is missing)
I also got a few features on entry to Campos, but there also the battery died.
Conclision is that with current situation I can manage the stretch Rio-Macae or home-Macae without recharging. Getting another car charging plug will allow me a longer stretch.
For those not very up with Brazilian geography, Rio - Campos (the life of my battery) is about 600km, Rio - Macae and home-Macae is both roughly 400km (one slightly more than the other, difference less than 100km)
During the last months I have been spoiling myself a little. I have upgraded my old iPad (first generation) wi-fi 16GB to a new iPad (fourth generation) wi-fi celular 32GB. That means I can access net on travels without the need of activating my cell phone as access point, so it opened some more opertunities to gather data.
I therefor did a heavy sort out of the programs I had on my old iPad, installing the ones I used a lot, the ones I would need for my job, and a few ones for fun.
When I tried to reinstall Mapzen POI collector, which I use on my android phone, and used a little from my old pad I could not get it installed (didn't find it in App Store), and looking for the other I had (OpenPOI), couldn't find that one neither, I ended up finding PushPin. I was happy to see that it used Bing! Images instead of Google (openPOI used google), and could swap to OSM Mapnik, also that it allowed to fetch existing POIs just like Mapzen POI collector, and with the latest update also allowed to edit POI areas (not limited to nodes) The only drawback with PushPin is that every edit comes as a separate changeset. I would love to see it keeping edits in same changeset as long as the changeset still is open, and allow me to customize comment field in the changesets.
The way PushPin get my GPS possition allows for me to quickly add POI's as we are driving (of course as long as I am the passenger) makes it possible for me to collect along the route, and not only where I stop.
What is missing now is a tool to pick up roads to add names and ref (could be included in next update of PushPin?) How I do this now is to edit the address in a POI along that road and than try to remember it so I can go back to the same place next time I open JOSM and correct the road data. This makes for delays, forgetting to correct all roads, missing important data, etc.
What I am loking for now is a routing/navigation app that allows for what I use OsmAnd for on my cell phone as I might swap my phone for an iPhone soon, I am in great need to upgrade my phone, and swapping to iPhone means I will no longer need to have two separate addresbooks, but loosing what I have from OsmAnd means I would still prefere an android for the time being (and since iPhone5 will be availlable in Brazil from end of next week there is a chance that I'll get one for x-mas)
Next week I will have time again to reassume some of the other maping activities, such as doing Bing tracings, seamarks, INT-1 symbols, MapCSS and JOSM presets, looking more at the new base layer for OpenSeaMap, etc
I have noticed that many roads traced from old Bing are slightly misaligned with the newer recalibrated Bing, which is more alligned with actual GPS traces, I think for most of southern Espírito Santo, shifting roads to allign them with new Bing will greatly improve accuracy of the map.
I am glad to announce that I have been accepted as a team member in OpenSeaMap's attempt in making a more nautical friendly base map. We are still just starting the process, but at least it is a start.
The team at the moment is myself, Dominik, who does the testing with mod_tile, and Yohan, who for some time have been developing a houseboating site.
The three of us have the common goal of making a base map where typical land features are toned down, or maybe even completely neglected, in favour of enhancing the viewability of features that have an importance on nautical navigation.
I will use my place on the team to get the base layer as much influenced on INT-1 symbols as possible, though we might do some priorities on the side of INT-1.
Since we are just about to start off, it is still too early to say anything about actual results yet. Also, it has to be noted that there are a faction within OpenSeaMap that want a combined nautical and land map. My message to them is to continue to use the Mapnik base map, but as mentioned, we are too early in the process to know what will be the outcome of this yet.