WikiProject Haiti/JOSM
From OpenStreetMap Wiki
| WikiProject Haiti | Main page | Earthquake maps & data | Mapping | New Mapper | Street Names | Tasks & Ideas | Imagery | Data sources | Press Mentions | Press Info | Status | News | Weekly meetings | |
|---|
Contents |
JOSM presets for Haiti Earthquake Response
There is a collection of JOSM presets prepared by user Lübeck.
Download and install
Check when the presets were last changed. If you want to install them the first time or if you want to update them:
- Download the presets and the additional icons. Download for Windows (ZIP), Download for Linux/Unix (tar)
- Unpack
- On Windows unzip haiti-earthquake-josm-presets.zip
- On Linux/Unix untar haiti-earthquake-josm-presets.tar
- This creates a directory presets. presets/earthquake contains the presets definition and the images.
Configure JOSM
- Open the preferences (Preferences -> Tab Map settings -> Tab Tagging presets
- Enter the the path to the new presets twice
- first, the path to presets definition file haiti-earthquake.xml
- second, the path to the directory with the images
Use in JOSM
- Go to menu Presets->earthquake
- Select one of the available presets
For Devs/Presets Maintainers: Where to change/update the presets
The presets definition file and the required icons are managed on the OSM Subversion repository.
See the Change Log and teh README.
There's a Ant build file to create a new distribution of the presets. Run ant dist and check-in the two generated files haiti-earthquake-josm-presets.{zip,tar}.
Fast Edit
For the Haiti-earthquake the rules and styles will the edit here an transmit to the OSM Subversion repository in intervals.
Last integration: Version 0.3, 2010-01-23
JOSM Menue Presents
<?xml version="1.0" encoding="UTF-8"?> <!-- This is a collection of presets to be used in the OSM Haiti project after the haiti earthquake. First version posted by user Lübeck on the wiki See http://wiki.openstreetmap.org/wiki/WikiProject_Haiti for further information. --> <annotations> <group name="earthquake" icon="earthquake.png"> <item name="Aerial Images Source"> <combo key="source" text="Source (add date!)" values="WorldBank, 2010-01-22,NOAA, 2010-01-18,Ikonos/GeoEye, 2010-01-18,GeoEye1/GeoEye, 2010-01-18,QuickBird/DigitalGlobe, 2010-01-18,WorldView-2/DigitalGlobe, 2010-01-18, DigitalGlobe, 2010-01-20,WorldView-2, WorldView-2/DigitalGlobe, 2010-01-21,ErosB/ ScanEx,Cnes/ SpotImage,JAXA/ ALOS,Google, 2010-01-17" /> </item> <separator /> <item name="Roads"> <label text="edit highway" /> <text key="name" text="Name" /> <combo key="highway" text="Type" values="primary,secondary,tertiary,footway,unclassified,road,path,track" delete_if_empty="true" /> <combo key="humanitarian:road:operationalstatus" text="Operational Status" values="open,restricted,closed,unspecified" /> <combo key="humanitarian:road:operationalstatusquality" text="quality of operation status info" values="reported,confirmed,unspecified" /> </item> <item name="Transport Obstacles" icon="eq_checkpoint.png"> <label text="edit transport obstacles" /> <combo key="type" text="Type" values="bridge_damage,road_damage,landslide_mudslide,debris,checkpoint,roadblock,unspecified" /> <combo key="humanitarian:obstacle:operationalstatus" text="Operational Status" values="open,restricted,closed,unspecified" /> <combo key="humanitarian:obstacle:operationalstatusquality" text="quality of operation Status Info" values="reported,confirmed,unspecified" /> </item> <item name="Health Facilities" icon="eq_hospital.png"> <text key="name" text="Name" /> <label text="edit health facilities" /> <combo key="type" text="Type" values="hospital,field_hospital" /> <combo key="humanitarian:healthfacility:operationalstatus" text="Operational Status" values="open,restricted,closed,unspecified" /> <combo key="humanitarian:healthfacility:operationalstatusquality" text="Quality of Operation Status Info" values="reported,confirmed,unspecified" /> </item> <item name="Aerodromes" icon="eq_airport.png"> <text key="name" text="Name" /> <combo key="type" text="Type" values="Airfield,Airstrip,Fixed HLZ,Improvised HLZ,Unspecified" /> <combo key="Humanitarian:Aerodromes:OperationalStatus" text="Operational Status" values="Open,Restricted,Closed,Unspecified" /> <combo key="Humanitarian:Aerodromes:OperationalStatusQuality" text="Quality of Op. Status Info" values="Reported,Confirmed,Unspecified" /> <combo key="Humanitarian:Aerodromes:HumanitarianUse" text="Humanitarian Use of Aerodrome" values="Primary Hub,Secondary Hub,Final Delivery Point,Operationally Significant Location,Unspecified" /> <text key="Humanitarian:Aerodromes:PracticabilityDescription" text="Description of aerodrome practicability (largest aircraft landable)" /> <combo key="Humanitarian:Aerodromes:TakeOffLandingType" text="Take Off and Landing Type" values="Runway,Heli Landing Zone" /> <text key="Humanitarian:Aerodromes:TakeOffLandingLength" text="Length (m) of runway or HLZ" /> <text key="Humanitarian:Aerodromes:TakeOffLandingWidth" text="Width (m) of runway or HLZ" /> <combo key="Humanitarian:Aerodromes:HLZType" text="For Heli Landing Zone, type of HLZ" values="Purpose-built,Sports-field park,Agricultural field,Car park,Rooftop,Open land,Unspecified" /> <text key="Humanitarian:Aerodromes:CargoHandling" text="Description of Cargo Handling Capability" /> </item> <item name="Warehouse Compounds" icon="eq_warehouse.png"> <text key="name" text="Name" /> <combo key="type" text="Type" values="Airfield,Airstrip,Fixed HLZ,Improvised HLZ,Unspecified" /> <combo key="Humanitarian:WarehouseCompounds:OperationalStatus" text="Operational Status" values="Open,Restricted,Closed,Unspecified" /> <combo key="Humanitarian:WarehouseCompounds:OperationalStatusQuality" text="Quality of Op. Status Info" values="Reported,Confirmed,Unspecified" /> <combo key="Humanitarian:WarehouseCompounds:HumanitarianUse" text="Humanitarian Use of Aerodrome" values="Primary Hub,Secondary Hub,Final Delivery Point,Operationally Significant Location,Unspecified" /> <text key="Humanitarian:WarehouseCompounds:StorageCapacityM3" text="Storage Capacity (cubic meters)" /> <text key="Humanitarian:WarehouseCompounds:StorageCapacityM2" text="Storage Capacity (square meters)" /> <text key="Humanitarian:WarehouseCompounds:StorageCapacityMT" text="Storage Capacity (metric tons)" /> <text key="Humanitarian:WarehouseCompounds:CargoHandling" text="Description of Cargo Handling Capability" /> <check key="Humanitarian:WarehouseCompounds:HasTempStorage" text="Facility has temperature controlled storage?" default="off" /> </item> <item name="Fuel Supply Points" icon="eq_fuel.png"> <text key="name" text="Name" /> <combo key="Humanitarian:FuelSupplyPoints:OperationalStatus" text="Operational Status" values="Open,Restricted,Closed,Unspecified" /> <combo key="Humanitarian:FuelSupplyPoints:OperationalStatusQuality" text="Quality of Op. Status Info" values="Reported,Confirmed,Unspecified" /> <text key="Humanitarian:FuelSupplyPoints:FuelStorageCapacity" text="Fuel Storage Capacity (specify units)" /> <combo key="Humanitarian:FuelSupplyPoints:FuelStorageType" text="Drums,Soft-Storage Bladder,Mobile Storage,Fixed Storage,Multiple Types,Unspecified" /> <text key="Humanitarian:FuelSupplyPoints:FuelStorageDesc" text="Description of Fuel Storage" /> </item> <separator /> <item name="Collapsed Buildings" icon="eq_building_collapsed.png"> <link href="http://wiki.openstreetmap.org/wiki/WikiProject_Haiti/MappingCoordination" /> <label text="edit collapsed building" /> <key key="earthquake:damage" value="collapsed_building" /> <key key="building" value="collapsed" /> </item> <item name="Spontaneous Camp" icon="eq_camping.png"> <link href="http://wiki.openstreetmap.org/wiki/WikiProject_Haiti/MappingCoordination" /> <label text="edit spontaneous_camp" /> <key key="earthquake:damage" value="spontaneous_camp" /> <key key="tourism" value="camp_site" /> </item> </group> </annotations>
JOSM Styles
<rules name="standard" author="" version="1.0" shortdescription="earthquake Icons" description="earthquake Icons"> <!-- human-health--> <rule> <condition k="humanitarian:healthfacility"/> <icon annotate="true" src="eq_hospital.png" priority="10000"/> <scale_min>1</scale_min> <scale_max>50000</scale_max> </rule> <rule> <condition k="type" v="field_hospital"/> <icon annotate="true" src="eq_hospital.png" priority="10000"/> <scale_min>1</scale_min> <scale_max>50000</scale_max> </rule> <rule> <condition k="type" v="hospital"/> <icon annotate="true" src="eq_hospital.png" priority="10000"/> <scale_min>1</scale_min> <scale_max>50000</scale_max> </rule> <!-- building & camps--> <rule> <condition k="building" v="collapsed_building"/> <icon annotate="true" src="eq_building_collapsed.png" priority="100000"/> <scale_min>1</scale_min> <scale_max>50000</scale_max> </rule> <rule> <condition k="earthquake:damage" v="collapsed_building"/> <icon annotate="true" src="eq_building_collapsed.png" priority="100000"/> <scale_min>1</scale_min> <scale_max>50000</scale_max> </rule> <rule> <condition k="building"/> <icon annotate="true" src="eq_building.png" priority="50000"/> <scale_min>1</scale_min> <scale_max>50000</scale_max> </rule> <rule> <condition k="earthquake:damage" v="spontaneous_camp"/> <icon annotate="true" src="eq_camping.png" priority="10000"/> <scale_min>1</scale_min> <scale_max>50000</scale_max> </rule> <!-- Transport Obstacles--> <rule> <condition k="type" v="checkpoint"/> <icon annotate="true" src="eq_checkpoint.png" priority="10000"/> <scale_min>1</scale_min> <scale_max>50000</scale_max> </rule> </rules>
Icons
the icons can be redisgn later.
| |
earthquake |
| |
building collapsed |
| |
spontaneous_camp |
| |
health facilities |
| |
checkpoint |
| |
aerodrome |
| |
fuel station |
| |
warehouse |