User:Mdelatorre
I don't give a flying monkey's for tag voting, automatic changebots, endless discussions, categories, or any of that crap, but prefer to get on and actually do stuff. |
About User | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Contact
|
Babel user information |
---|
Users by language |
Meme de la Torre
geek, pentester, security professor, privacy defender, photo/video enthusiast, open-source advocate, e-learning specialist, proud father.
GPS Equipment
JOSM resources
RoadSigns Mexico preset
RoadSigns is a JOSM plugin for OSM that offers a dialog for selection of traffic signs from a list of presets. With simple clicks you can create combinations of signs and generate tagging suggestions.
One limitation with this plugin is the limited number of country presets available. Here I present the Mexico preset available to download at RoadSignsMX github repository
RoadSignsMX installation
To install the Mexico preset follow these instructions:
- Search for the following key entry
plugin.roadsigns.presets
in the JOSM advanced preferences. (available when in expert mode). - Click on the Edit button in the lower left of the window.
- Click the + button to add a new entry.
- Select the new entry and add the following keys/values. Where PATH is the URI where you have installed the preset.
Key | Value |
---|---|
code | MX |
display-name | Mexico |
preset-path | <PATH>/roadsignpresetMX.xml |
icon-path | <PATH>/images/ |
Presets
Preset | Description | Download |
---|---|---|
Beautified JOSM preset | Vespucci version of the original preset set. | BeaitifiedJOSM.zip |
Map Paint Styles
Map Style | Description | Download |
---|---|---|
Apple JOSM Paint Style | This map paint style improves the visibility of the highway network for easier editing of ways and nodes. All supported OSM tags render in this custom base style; no need to stack styles. | AppleMapStyle.zip |
Searching and filtering
JOSM search is a fairly advanced system which first takes your string, compiles it into a tree structure and runs that over the data. At the base level there are matching tokens, which can then be combined to form complex searches. To access the search dialog, press Ctrl-F, or click the Edit menu, then Search.
There is provision for case-sensitive matches, directly activated from the search dialog.
Expression examples[1]
Note: To view the table click on Expand
Search or Filter Expression | Description |
---|---|
building inview nodes:4- | Buildings in view with more than 4 nodes |
highway=* name: | Highways that have a name |
type:way highway=* name~"^[0-9]+.*" | Highways of any kind that the name starts with one number |
type:way name:- | Ways that do not have a name |
type:node untagged | Nodes that are not tagged |
type:node untagged -child | Nodes that are not tagged, neither part of a way |
type:way highway=residential AND type:node child highway=residential | Residential highways without the child nodes |
new tags:0-0 nodes:3- | New objects with no tags with more than three nodes |
nodes:3- -(building=*) | Objects with more than three nodes that are not buildings |
nodes:3- -(building=*) -(highway=*) | As the previous excluding highways |
type:node -highway=stop | Nodes excluding stop signs |
type:node new "addr:housenumber" | Nodes with new house numbers tags |
type:node is_in: | Nodes with an is_in tag set |
new modified | Objects that are in state new or modified |
timestamp:2020-01-15/ | Objects that were last modified after the YYYY-MM-DD date given |
timestamp:2020-01-01/2020-04-30 | Objects that were last modified in the date range given |
waterway | boundary=administrative | Objects that are a waterway or an administrative boundary |
type:relation admin_level=10 | Relations that have an administrative level equal to 10 |
child(type:relation id:<ID>) waterway=river | Children of the relation (the members) with the id <ID> tagged waterway=river |
closed areasize:-200 | Closed ways (areas) with areas up to 200m² in size |
closed waylength:1000- | Closed ways with perimeters greater than 1000m in length |
type:node -untagged child closed | Tagged nodes which are part of closed ways |
parent(child(selected)) type:way | Neighbouring ways of a selected way |
parent child selected type:way | Same as above. Parentheses are optional for single-argument expressions |
parent(type:node highway:stop) highway:residential | Residential ways that have a stop sign in a child node |
child (type=route "<NAME>") | Everything that is member of a relation of type route with name <NAME> |
type:node ways:2 child highway=residential | Intersection nodes of residential ways |
type:way and highway=residential and
|
Residential roads missing a name |
type:way and (highway in (motorway,
|
All types of highways |
building=* and building!=no and
|
All buildings. This filter also excludes the (rare) objects marked with building=no , which is a tag used to indicate that a feature might be expected to be a building
|
leisure=park and geometry:polygon or
|
Parks and park benches |
(landuse=forest or natural=wood) and
|
Forests and woods |
Keyboard Shortcut Cheat Sheet
Mapillary Resources
Mexico WMS servers
These are WMS servers I have found that provide information of Mexico. I hope they can help you in you own OSM mapping. If you have knowledge of any other I will appreciate telling me using the information provided in this page. Note: To view the table click on Expand
WMS Service Name | URL Server | Layers |
---|---|---|
Acervo de información geográfica INEGI (Mapa Digital de México v5) | https://gaia.inegi.org.mx/NLB/mdm5.wms |
|
Acervo de información geográfica INEGI (Mapa Digital de México v61) | https://gaia.inegi.org.mx/NLB/tunnel/wms/wms61 |
|
Infraestructura de Datos Espaciales Abiertos (IDEA) de la GITS (UNAM) | https://www.gits.igg.unam.mx/wmsproxy/wms | The data contained in the IDEA fall into three categories: Fundamental Data, Basic Data and Value Added Data.
|
Portal de Geoinformación del SNIB (CONABIO) | http://www.conabio.gob.mx/informacion/explorer/wms |
|
Áreas Naturales Protegidas SINA (CONAGUA)[3] | http://201.116.60.30/arcgis/services/SINA/Areas_Naturales_Protegidas/MapServer/WMSServer? | |
Distritos de Riego SINA (CONAGUA)[3] | http://201.116.60.30/arcgis/services/SINA/Distritos_riego/MapServer/WMSServer? | |
Atlas Cibernético del Estado de México | http://acvisor.edomex.gob.mx/geoserver/wms? | |
Depósitos de Cobre en México (GeoSUR) | https://www.geosur.info/arcgis/services/GeoSUR/Mineral_Deposits/MapServer/WMSServer |
|
GnuPG information
GnuPG Fingerprint: 0x9E743B5C | D5E8 11EE 171E 06E8 D7AC 2973 EC1A 441E 9E74 3B5C
License
|
References
- ↑ DELATORRE, Manuel;JOSM search and filter examples;pastebin.com;2020
- ↑ Link WMS for JOSM: wms:http://www.conabio.gob.mx/informacion/explorer/wms?FORMAT=image/gif&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=usv250s6gw&STYLES=&CRS=EPSG:4326&WIDTH={width}&HEIGHT={height}&BBOX={bbox}
- ↑ 3.0 3.1 Servicio de Mapas del Sistema Nacional de Información del Agua. CONABIO
- ↑ Link WMS for JOSM: wms:http://201.116.60.30/arcgis/services/SINA/Areas_Naturales_Protegidas/MapServer/WmsServer?FORMAT=image/gif&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=0&STYLES=&CRS=EPSG:4326&WIDTH={width}&HEIGHT={height}&BBOX={bbox}
- ↑ Link WMS for JOSM: wms:http://201.116.60.30/arcgis/services/SINA/Areas_Naturales_Protegidas/MapServer/WmsServer?FORMAT=image/gif&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=1&STYLES=&CRS=EPSG:4326&WIDTH={width}&HEIGHT={height}&BBOX={bbox}
- ↑ Link WMS for JOSM: wms:http://201.116.60.30/arcgis/services/SINA/Distritos_riego/MapServer/WMSServer?FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=2&STYLES=&CRS=EPSG:4326&WIDTH={width}&HEIGHT={height}&BBOX={bbox}
- ↑ Link WMS for JOSM: wms:http://201.116.60.30/arcgis/services/SINA/Distritos_riego/MapServer/WMSServer?FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=1&STYLES=&CRS=EPSG:4326&WIDTH={width}&HEIGHT={height}&BBOX={bbox}
- ↑ wms:https://www.geosur.info/arcgis/services/GeoSUR/Mineral_Deposits/MapServer/WmsServer?FORMAT=image/png&TRANSPARENT=TRUE&VERSION=1.3.0&SERVICE=WMS&REQUEST=GetMap&LAYERS=1&STYLES=&CRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}