DesktopWMS: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
(Download)
(Features)
 
(41 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
'''Desktop WMS''' - A minimalistic local [[WMS]] service serving (remote) OpenStreetMap and (local) image maps.
+
'''A tiny local Web Map Server''' - serving OpenStreetMap, Google Maps, Yahoo Maps and local image maps as [[WMS]].
  
See also [[WorldFileTool]], [[WMS]] (de), [[Georeferenzieren von Bildern]] (de).
+
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.  
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 very 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.
 
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 Peter Damen's [http://www.peterdamen.com/GoogleWMS/ 'GoogleWMS'] software.
+
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]]
  
DesktopWMS 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 [http://dev.ifs.hsr.ch/desktopwms/ Developer's Wiki].
* [[JOSM]]
 
* [[OpenJUMP]]
 
* [[JMapDesk]]
 
  
 
== 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 from remote OSM tile server (requires internet access).
+
** 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.
  
Ideas (not scheduled):
+
== Usage ==
* Tiled local image layer; requires tiled image file in local subdirectory.
+
=== Running DesktopWMS ===
* Adding layers like 'Yahoo Maps!'.
+
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".
  
== Usage ==
+
=== 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) ===
* Actual (beta) version:
+
* GetMap:
** GetMap: [http://localhost:8998/?request=getmap&bbox=8.815067,47.224381,8.817712,47.226178&width=250&height=250&format=image/jpeg]
+
** 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]
** Optional GetCapabilities: [http://localhost:8998/?request=getcapabilities]
+
** 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]
* Next release:
+
** 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]
** GetCapabilities: [http://localhost:8998/?request=getcapabilities]
+
** 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]
** GetMap with layer name 'osm' (= 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/jpeg&layers=osm]
+
* GetCapabilities: [http://localhost:8998/?request=getcapabilities].
** GetMap 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]
 
  
 
== Download ==
 
== Download ==
 
+
Look for latest version here: http://dev.ifs.hsr.ch/releases/desktopwms/
* Download: no binaries yet.
 
* SVN desktopwms: http://sifsv002.hsr.ch/svn/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).

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:
    • with layer name 'openstreetmap': [1]
    • with layer name 'google': [2]
    • with layer name 'yahoo': [3]
    • with layer name 'myimage.jpg' (= local image file in ./data directory of DesktopWMS): [4]
  • GetCapabilities: [5].

Download

Look for latest version here: http://dev.ifs.hsr.ch/releases/desktopwms/