Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

June 27 2017

Hartmut Holzgraefe: Style updates – height contour lines etc.

Over the weekend I’ve imported countour data generously provided by [http://opensnowmap.org/ OpenSnowMap].

Contour lines in 10m steps are now enabled in the OpenTopoMap style by default, and can be added to other styles as an overlay.

align=right

Unfortunately, due to a small but momentous fault on my side, I ran into temporary disk space problems while performing the import, and had to make sure to temporary provide an extra ~500GB of free space.

This has lead to a few service hickups which are hopefully all fixed now:

  • Minutely diff imports had to pause longer than originally thought. The main database has caught up by now but hiking, biking, etc. routes are still about two days behind
  • The test sites are offline for now (not sure if anyone but me knew about them anyway)
  • The “MapOSMatic printable” and “PisteMap” styles were not functional for a little while
  • This night the web server process stubled over a missing directory and stopped for a few hours
  • The first version of the contours overlay didn’t have a transparent background, and so were completely replacing the base style layer instead of just adding contour lines on top. I didn’t spot this in testing as I only tested this on top of the “Empty” style 🙁

OpenStreetMap User's Diaries: 九份瑞芳必吃美食(豐味肉羹)

瑞芳,在地人推薦的必吃美食給你瞧瞧吧! 首推這間是在瑞芳美食街內,經營近四十年的豐味肉羹 用溫體黑毛豬肉切作肉條還需加入獨門配方的醃料,再醃製數小時後才做與新鮮尚美的旗魚漿混打的動作, 做出肉塊,再搭配上比例適當、口味適中的羹湯,所有的細節都不容出錯,才能成就一碗好的肉羹。 我試問老闆為什們你會開這家店, 老版回答在六零年代末期, 礦業在瑞芳、猴峒一帶仍然熱鬧發展的時候, 來自三貂嶺、豐味肉羹第一代老闆開始了他在瑞芳的擺攤生活。 靠著從城市裡大飯店學回來的廚師手藝,他酌磨著「肉羹」在瑞芳的市場性, 初期也靠著礦工朋友們的支持,經過不斷的口味調整, 才有今天仍然深受歡迎的豐味肉羹。 談到礦業,老老闆和老闆娘有很深的記憶,他有親人是礦工;來到異地,地處交通要鎮,他的第一批老主顧也多是礦工, 他回憶礦工當時常常坐在他攤子前的長板凳上一邊吃肉羹、一邊等換車的空檔,大夥兒雖是隨意的聊著天,卻有著一樣的心聲。 人今天進了礦坑,不知還有沒有明天?平日一起等回家車的礦工伙伴,若是今日不見蹤跡,恐是凶多吉少。老老闆和老闆娘見多聽多,格外珍惜與老顧客相處的緣分,也發展出一套特別的「老主顧」哲學。 也因為他們珍惜與「老主顧」的緣分,對於外來客也有著寬容,常常有外來客拎著鎮上的龍鳳腿 、門口的胡椒餅上門來點一碗羹,老闆也本著「相逢自是有緣」的情分,沒有所謂的「外食不進門」的規定,熱誠地款待著。 作為一個小吃店的客人,能被老闆這般地重視著,不只是嘴裡吃到的、也是心理感受到的幸福

June 26 2017

OpenStreetMap User's Diaries: Con Mapillary de 0 a 4.646 M.S.N.M.

Han pasado 2 años desde que comencé a utilizar la aplicación y recorriendo mi historial encuentro con agrado grandes aventuras almacenadas en las imágenes de mis viajes, la ruta por el macizo, el recorrido del pacífico, la caminata del Puracé y el recorrido del piedemonte amazónico, entre muchos otros, son algunos de los viajes registrados en mis viajes por el extenso departamento del Cauca en Colombia. Igualmente la satisfacción del deber cumplido al utilizar la aplicación en contextos humanitarios como los ejercicios en las emergencias de Salgar, Antioquia y Mocoa, Putumayo. Intentando al igual hacer crecer la comunidad con la iniciativa #ScoutMappers adelantada con la asociación de Scouts de Colombia. Una experiencia personal que resume mis pasos transitador desde los 0 hasta los 4646 M.S.N.M en mas de 183.425 imágenes, tomadas a lo largo de 2.008.599 metros.

OpenStreetMap User's Diaries: 用NCDR的避難場所資料,補充林口一帶缺失的學校

NCDR 手上有相當詳盡的災難時候避難場所資料,其中為數不少是學校。因此可以利用避難場的清單,挑出學校,然後在 OSM 上面對照是否已經繪製學校了,假若沒有則可以補充資料。NCDR 資料相比 GNS 中學校資料豐富太多了。

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“emergency=access_point and name~"國小|國中|高中"”
*/
[out:xml]/*fixed by auto repair*/[timeout:225];
// gather results
(
  // query part for: “emergency=assembly_point and name~/國小|國中/”
  node["emergency"="assembly_point"]["name"~"國小|國中|高中"]({{bbox}});
  way["emergency"="assembly_point"]["name"~"國小|國中|高中"]({{bbox}});
  relation["emergency"="assembly_point"]["name"~"國小|國中|高中"]({{bbox}});
  node["amenity"="school"]({{bbox}});
  way["amenity"="school"]({{bbox}});
  relation["amenity"="school"]({{bbox}});
);
// print results
out meta;/*fixed by auto repair*/
>;
out meta qt;/*fixed by auto repair*/

OverPass Turbo連結

Mapbox Blog: 3D map visualizations on Android and iOS

3D polygons on maps are for much more than just buildings. When the map is a platform, you can adapt 3D effects to suit your data and your story.

With extrusions, available in our latest SDK releases for iOS and Android, the fill-extrusion layer type allows you to specify the height and base height of a polygon feature to create a unique 3D experience.

When paired with data-driven styling, the possibilities are endless. Add elevation gains to your fitness app, visualize population density as data pillars in NYC, or add 3D buildings that are only visible at higher zooms for when users need additional context.

>

Styling pro tip

Control the origin, color, and intensity of light sources by using the fill-extrusion and light map properties together to add critical depth to 3D features. For a refresher on the importance of depth, be sure to check out Nicki’s post on shading and lighting 3D features.

Start exploring early with our release candidates for iOS and Android, and keep an eye out for final releases in the next two weeks.

ШТОСМ: Overpass кладёт в OSM

Этой ночью Мартин Райфер научил Overpass Turbo сохранять запросы не только в локальное хранилище браузера, но и прямо в OSM API, после авторизации. Вы увидите свои запросы на всех компьютерах и на любой копии сервиса.

Кажется, это второй случай использования Preferences API популярным приложением. Первым был редактор Meerkartor, который задействовал эти функции, когда версия API была ещё 0.5, и наткнулся на ограничение в 150 тегов. Потому что теги и настройки обрабатывались одним и тем же кодом. Были предложения сохранять настройки в OSM и другим редакторам — JOSM и iD, но забылись за отсутствием интереса.

Кроме ста пятидесяти настроек за раз, у API есть ещё ограничение: не больше 255 символов на строку. Длинные запросы Overpass Turbo сохраняет в несколько ключей и склеивает их при загрузке.

Наконец, API не решает задачу публикации кода запроса. Пусть сервис сам по себе — библиотека запросов с удобным интерфейсом, было бы здорово отвязаться от неё и загружать код в GitHub Gist вместе с коротким примером использования в Leaflet. Ровно как это делает Geojson.io при нажатии кнопки «Share».

OpenStreetMap User's Diaries: Utilização do OSM pela Polícia Militar de Santa Catarina

Finalmente o OSM passou a ser utilizado pelo sistema de geração de ocorrências da PMSC, em substituição ao Google Maps. De agora em diante ficará mais fácil concertar erros existentes no mapa para uma correta apresentação dos locais de ocorrência, agilizando desta forma o atendimento das mesmas.

OpenStreetMap User's Diaries: uMap: 3D Modelos Digitais de Elevação

Alguns modelos 3D que fiz com QGIS, plugin Qgis2threejs (https://plugins.qgis.org/plugins/Qgis2threejs/), NASA SRTM, imagens de várias fontes (créditos no modelo e/ou metadados), mais alguns dados do OSM, mapeados no uMap.

Alguns modelos podem demorar um pouco para carregar (de 6 a 12MB).

http://umap.openstreetmap.co/m/1095/

Alt text

OpenStreetMap User's Diaries: uMap of some 3D Digital Elevation Models

3D Models made with QGIS, plugin Qgis2threejs (https://plugins.qgis.org/plugins/Qgis2threejs/), NASA SRTM, Images from various sources (credits printed and/or quoted in metadata of each model), some OSM data. And uMap of course.
Some models may take a while to download (6 to 12MB).

http://umap.openstreetmap.co/m/1095/

Alt text

June 25 2017

OpenStreetMap User's Diaries: Sync your overpass queries with your osm account

Brand new on overpass-turbo.eu: In addition to storing queries locally on your browser, you can now also save your important queries on your OSM account and access them from everywhere. Here's the new option visible on the save dialog:

OpenStreetMap User's Diaries: Import Youbike Station from Taoyuan Open Data Portal

Using data item from Taoyuan Open Data Portal, and merging the existing Youbike station on OpenStreetMap database, I use JOSM check and merge the data, then upload in bulk to OpenStreetMap.

Taipei City, New Taipei City, Taoyuan City, Taichung City, Tainan City and Kaohsiung City they all put the public bicycle site list on the open data portal. But unfortunately that Hsinchu City data license is vague. The datsset on National Develop Council use the Taiwan Government Open Data License. But on the link to Hsinchu City Open Data portal, the dataset page says it has they on custom license, which doesn't fit to OpenStreetMap license. There are mappers in Hsinchu had add some Youbike site in Hsinchu area.

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“amenity=bicycle_rental in "新竹市"”
*/
[out:json][timeout:25];
// fetch area “新竹市” to search in
{{geocodeArea:新竹市}}->.searchArea;
// gather results
(
  // query part for: “amenity=bicycle_rental”
  node["amenity"="bicycle_rental"]["operator"="新竹市政府"](area.searchArea);
  way["amenity"="bicycle_rental"]["operator"="新竹市政府"](area.searchArea);
  relation["amenity"="bicycle_rental"]["operator"="新竹市政府"](area.searchArea);
);
// print results
out body;
>;
out skel qt;
{{style:
    node,way,relation {
        text:name;
}
}}

OverPass Query Link

OpenStreetMap User's Diaries: 匯入桃園市的Youbike站點

依據桃園市Open Data平台的Youbike站點資料集,與先前已經在OpenStreetMap上面的Youbike站點在JOSM整合後,再整批上傳上去OpenStreetMap上面。

現在臺北市、新北市、桃園市、臺中市、臺南市、高雄市都有把它們的公共自行車站點資料集放到Open Data平台。而比較麻煩的是新竹,在國發會的Open Data平台標示依政府開放資料授權條款釋出,但連結指向新竹市Open Data平台,新竹市用客製化的授權條款,看來不是那麼合OpenStreetMap的授權條款。現在新竹的站點已經陸陸續續標示上去了。

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“amenity=bicycle_rental in "新竹市"”
*/
[out:json][timeout:25];
// fetch area “新竹市” to search in
{{geocodeArea:新竹市}}->.searchArea;
// gather results
(
  // query part for: “amenity=bicycle_rental”
  node["amenity"="bicycle_rental"]["operator"="新竹市政府"](area.searchArea);
  way["amenity"="bicycle_rental"]["operator"="新竹市政府"](area.searchArea);
  relation["amenity"="bicycle_rental"]["operator"="新竹市政府"](area.searchArea);
);
// print results
out body;
>;
out skel qt;
{{style:
    node,way,relation {
        text:name;
}
}}

OverPass檢索連結

OpenStreetMap User's Diaries: Pearl River Delta Staion Under Constructure Fix Part II

WOW, I can't even think about I'll have to do a second fix for the Pearl Delta area. Here is the part II that filter out the station under construction, but labeled as in function.

OverPass Query

OverPass Query Language:

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“railway=station and name~"建设中"”
*/
[out:xml]/*fixed by auto repair*/[timeout:225];
// gather results
(
  // query part for: “railway=station and name~/在建/”
  node["railway"="station"]["name"~"建设中"]({{bbox}});
  way["railway"="station"]["name"~"建设中"]({{bbox}});
  relation["railway"="station"]["name"~"建设中"]({{bbox}});
);
// print results
out meta;/*fixed by auto repair*/
>;
out meta qt;/*fixed by auto repair*/

Changeset

OpenStreetMap User's Diaries: 廣東珠三角一帶的在建車站 Part II

想不到還可以有Part II

這次是name欄位中有「建设中」,因此用Overpass搜尋找到144個站標示為營運中車站,實際上是還在蓋。

OverPass檢索

OverPass檢索語言:

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“railway=station and name~"建设中"”
*/
[out:xml]/*fixed by auto repair*/[timeout:225];
// gather results
(
  // query part for: “railway=station and name~/在建/”
  node["railway"="station"]["name"~"建设中"]({{bbox}});
  way["railway"="station"]["name"~"建设中"]({{bbox}});
  relation["railway"="station"]["name"~"建设中"]({{bbox}});
);
// print results
out meta;/*fixed by auto repair*/
>;
out meta qt;/*fixed by auto repair*/

變更集

OpenStreetMap User's Diaries: Задания

Исправить и по возможности перевести название улиц: https://www.openstreetmap.org/search?query=вул.%20україна

Добавить на карте Киева все житловые кварталы

OpenStreetMap User's Diaries: 24/06/2017 Balade à Villebon-sur-Yvette

OpenStreetMap User's Diaries: What should I do with my GPX files?

Inspired by dval's diary entry, I thought I should finally summarize me experience with track recording.

I use two setups on three physical devices to record my GPS tracks - my smarthphone and two old smartphones (identical models) that I've dedicated to GPS recording (taken out SIM cards, stripped the software down to bare essentials). My (newer, day-to-day use) smartphone is running the latest version of the Mendhak GPS Logger app, while the two older ones are running the most recent version of the same app that still supports Android 2.3.6 (i.e. a pretty old one). I have found that these two setups produce GPX tracks with different DOP values. The newer smartphone running the newer app usually produces tracks with DOP of around 0.4-5, the older smartphones with the older version of the app are a bit higher (DOP ~1.2-8). However, it doesn't seem to depend entirely on the smartphone model because when I was still using the OsmAnd app for GPS tracking on the newer smartphone, the DOP values were a lot higher (~4-15 or thereabouts).

Every time I return from a trip or a hike, I download the GPX tracks from all three smartphones and in all of them I throw away all points with a negative elevation (<ele> tag) to get rid of complete rubbish. Then, for the newer smartphone, I throw away all poins with HDOP higher than 0.7 and for the older smartphones higher than 1.5. When I say "throw away", I mean that I replace the track points in question (<trkpt> tag) with "</trkseg><trkseg>" so I don't just connect the adjacent points. This way, I get a GPS track full of "holes" but since I'm recording three tracks at the same time and I often record the same trip on multiple occasions, I have a pretty decent coverage of the whole trip, as well as pretty good accuracy, I dare say.

Now, what do I do with this? I have 360 files so far and JOSM is starting to notice when I display them all at once. Of course, I'm thinking about uploading them to OSM because that way:
- other people could use them
- I would be able to only load the portions of tracks for a particular area, rather than needing to display them all in full in JOSM

However:
- I don't keep track of where I recorded a particular file and I certainly don't feel like tagging them all for location etc. - the maintenance is tedious enough as it is.
- Many of them are next to useless on their own because they're just a sparsely dispersed points or short dashes - it's only after you combine more of them together that you see something meaningful.
- I don't want to lose the HDOP information - the OSM server strips that, doesn't it?
- I don't want them to get lost in the vast number of other uploaded tracks, many of them low quality.

Basically, I'm looking for some place whence I could load them into JOSM along with tracks recorded by other people and then filter the lot by HDOP.

Any ideas?

OpenStreetMap User's Diaries: http://www.wedding-officiant-greenville.com/elopements-.html

ChristianWedding Officiant Greenville SC

864-977-1578(call or text) Rev. Mooney provides Christian wedding and elopement ceremonies on short notice in Greenville SC and surrounding area.

Reverend Mooneyspecializes in Christian weddings for blended families with traditional values. Loving couples who are ready to tie the knot can count on Rev. Mooney’s 15 years of ministry experience to perform a beautiful Christian ceremony.

Couples can choose theexact type of wedding ceremony they would like. They can also choose the location of the wedding. If a couple does not have a location, there are several free options that may be available in the area.

Rev. Mooney focuses onfamily weddings, for those who have been divorced in the past. They use just the right ceremonies to help bring these blended families together as they start a new journey together.

June 24 2017

John McKerrell: New New Blog, New Old Blog

So I’ve decided to replace my previous blog with a WordPress blog.

That was the first line I put on my WordPress blog, which I’ve now replaced with Jekyll. The first post on that was in October 2006, so nearly 11 years ago!

Over the past 11 years I’ve moved away from doing anything PHP, or anything server-side really. I have no particular need of the online editing that you get with WordPress or any of the other features really. I’m also trying to be quite paranoid about what daemons I run on my hosting server. I came across Jekyll (again) as part of a documentation project in my day job and was impressed by how easy it was to use so decided I would start migrating some of my own stuff over.

My first migration was actually the website for my CamViewer iOS app which was already based on Gollum the markdown wiki so should have been quite simple to migrate (actually it was still a bit of a faff due to different markdown versions).

I hoped migrating Wordpress would also be easy as so many people use both technologies. As it turned out there was still plenty of work involved. I ended up using two migration tools. The main Jekyll importer didn’t seem to do a great job of pulling the HTML in but pulled all the comments across nicely so I ended up using exitwp and writing a yaml copying tool to pull the comments from one to the other.

This blog hasn’t actually got any comments functionality at the moment, I figure people can ping me @mcknut on Twitter if they want to make comments but I’ve copied the ones that were on the old site.

My previous blog made use of whizzy fun modern technologies to allow me to host my entire site on Google Base, Google Pages and del.icio.us. Unfortunately, because it was something I had just knocked up there was no comment support, and of course it did require Java and JavaScript to be enabled in the browser.

That original blog was quite a weird thing, I tried to make it so that all the content was hosted online. Unfortunately as it was JavaScript based not much has been saved on the Internet Archive. It does seem like all the original posts are now lost but with any luck I’ve got the content… somewhere.

Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!

Schweinderl