DesktopWMS: Unterschied zwischen den Versionen
Stefan (Diskussion | Beiträge) (→Features) |
Stefan (Diskussion | Beiträge) (→Features) |
||
(47 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | ''' | + | '''A tiny local Web Map Server''' - serving OpenStreetMap, Google Maps, Yahoo Maps and local image maps as [[WMS]]. |
− | See also [[ | + | See also [[WMS]], [[WorldFileTool]] and [[Georeferenzieren von Bildern]] (de). |
− | == About | + | == About... == |
+ | Many GIS/geodata editors nowadays include the Web Map Server protocol ([[WMS]]) from OGC, but often they lack support of free map services like OpenStreetMap and local images. OpenStreetMap serves as a free background map and it's cached, tiled and remote. Georeferenced local images are handy for getting special local knowledge into one's own geodata. | ||
− | + | Note that local images need to be georeferenced and aligned to north before hand. See [[WorldFileTool]] for more information about georeferencing. | |
− | DesktopWMS is based on | + | DesktopWMS is based on an initial idea from [http://peterdamen.com/GoogleWMS/ GoogleWMS] and has been reported to work with the following GIS and map viewer: |
+ | * [[JOSM]] | ||
+ | * [[OpenJUMP]] nightly builds (doesn't work with stable version) | ||
+ | * [[uDig]] | ||
+ | * [[GvSIG]] | ||
− | + | Users or programmers, please contact me (sfkeller(ät)hsr.ch if there are any questions. Programmers can browse and download the code here at [http://dev.ifs.hsr.ch/desktopwms/ Developer's Wiki]. | |
− | |||
− | |||
− | |||
== Features == | == Features == | ||
− | |||
Basic features: | Basic features: | ||
* Runs locally in the background as a server. | * Runs locally in the background as a server. | ||
* Can be accessed as a WMS service version 1.1.1. | * Can be accessed as a WMS service version 1.1.1. | ||
− | * Contains the following predefined layers | + | * Contains the following predefined layers from remote tile server (requires internet access, see [[Tiling]]): |
− | + | ** OpenStreetMap | |
+ | ** Yahoo! Maps | ||
+ | ** (Google Maps - Google stopped services?) | ||
* Serves local images: | * Serves local images: | ||
− | ** 'Ad-hoc' image layer; requires one image file (no tiling) and a [[World file]] as configuration (use e.g. [[WorldFileTool]] to georeference]). | + | ** 'Ad-hoc' image layer (file); requires one image file (no tiling) and a [[World file]] as configuration (use e.g. [[WorldFileTool]] to georeference]). |
** Supported formats: jpg, gif, png. | ** Supported formats: jpg, gif, png. | ||
− | + | == Usage == | |
− | * | + | === Running DesktopWMS === |
− | * | + | after starting the application with "java -jar desktopwms.jar" the server will start automatically. |
+ | If you use big images, then start the desktopwms with "java -Xmx512M -jar desktopwms.jar". | ||
+ | |||
+ | === Available commands === | ||
+ | you could use following commands: | ||
+ | *"start" to start the server | ||
+ | *"stop" to stop the server | ||
+ | *"restart" to restart the server | ||
+ | *"isrunning" to check if the server is running | ||
+ | *"exit" to exit the application | ||
+ | *"help" to get a list of all available commands with description | ||
+ | |||
+ | === Change capabilities === | ||
+ | adjust the files in the folder capabilities | ||
− | == | + | === Change settings === |
+ | adjust the properties in the file desktopwms.config in the folder config | ||
− | Demo/test with WMS calls (default port is 8998) | + | === Demo/test with WMS calls (default port is 8998) === |
− | * | + | * GetMap: |
− | ** | + | ** with layer name 'openstreetmap': [http://localhost:8998/?service=WMS&version=1.1.1&request=getmap&bbox=8.815067,47.224381,8.817712,47.226178&width=250&height=250&format=image/png&layers=osm] |
− | ** | + | ** with layer name 'google': [http://localhost:8998/?service=WMS&version=1.1.1&request=getmap&bbox=8.815067,47.224381,8.817712,47.226178&width=250&height=250&format=image/png&layers=google] |
− | + | ** with layer name 'yahoo': [http://localhost:8998/?service=WMS&version=1.1.1&request=getmap&bbox=8.815067,47.224381,8.817712,47.226178&width=250&height=250&format=image/png&layers=yahoo] | |
− | + | ** with layer name 'myimage.jpg' (= local image file in ./data directory of DesktopWMS): [http://localhost:8998/?service=WMS&version=1.1.1&request=getmap&bbox=8.815067,47.224381,8.817712,47.226178&width=250&height=250&format=image/jpeg&layers=myimage.jpg] | |
− | ** | + | * GetCapabilities: [http://localhost:8998/?request=getcapabilities]. |
− | ** | ||
== Download == | == Download == | ||
− | + | Look for latest version here: http://dev.ifs.hsr.ch/releases/desktopwms/ | |
− |
Aktuelle Version vom 17. Oktober 2009, 12:58 Uhr
A tiny local Web Map Server - serving OpenStreetMap, Google Maps, Yahoo Maps and local image maps as WMS.
See also WMS, WorldFileTool and Georeferenzieren von Bildern (de).
Inhaltsverzeichnis
About...
Many GIS/geodata editors nowadays include the Web Map Server protocol (WMS) from OGC, but often they lack support of free map services like OpenStreetMap and local images. OpenStreetMap serves as a free background map and it's cached, tiled and remote. Georeferenced local images are handy for getting special local knowledge into one's own geodata.
Note that local images need to be georeferenced and aligned to north before hand. See WorldFileTool for more information about georeferencing.
DesktopWMS is based on an initial idea from GoogleWMS and has been reported to work with the following GIS and map viewer:
Users or programmers, please contact me (sfkeller(ät)hsr.ch if there are any questions. Programmers can browse and download the code here at Developer's Wiki.
Features
Basic features:
- Runs locally in the background as a server.
- Can be accessed as a WMS service version 1.1.1.
- Contains the following predefined layers from remote tile server (requires internet access, see Tiling):
- OpenStreetMap
- Yahoo! Maps
- (Google Maps - Google stopped services?)
- Serves local images:
- 'Ad-hoc' image layer (file); requires one image file (no tiling) and a World file as configuration (use e.g. WorldFileTool to georeference]).
- Supported formats: jpg, gif, png.
Usage
Running DesktopWMS
after starting the application with "java -jar desktopwms.jar" the server will start automatically. If you use big images, then start the desktopwms with "java -Xmx512M -jar desktopwms.jar".
Available commands
you could use following commands:
- "start" to start the server
- "stop" to stop the server
- "restart" to restart the server
- "isrunning" to check if the server is running
- "exit" to exit the application
- "help" to get a list of all available commands with description
Change capabilities
adjust the files in the folder capabilities
Change settings
adjust the properties in the file desktopwms.config in the folder config
Demo/test with WMS calls (default port is 8998)
- GetMap:
- GetCapabilities: [5].
Download
Look for latest version here: http://dev.ifs.hsr.ch/releases/desktopwms/