tecnica:gps_cartografia_gis:openlayers_900913
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tecnica:gps_cartografia_gis:openlayers_900913 [2010/10/08 22:37] – niccolo | tecnica:gps_cartografia_gis:openlayers_900913 [2010/11/05 14:21] – niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== OpenStreetMap |
Le mappe di **[[http:// | Le mappe di **[[http:// | ||
Line 20: | Line 20: | ||
Questo trucco funziona sul sito di OpenStreetMap, | Questo trucco funziona sul sito di OpenStreetMap, | ||
- | ===== Layer supportati da OpenLayers ===== | ||
- | **[[http:// | ||
- | |||
- | ^ OSM | OpenStreetMap, | ||
- | ^ Markers | ||
- | ^ Text | Del tutto simile al '' | ||
- | ^ GeoRSS | ||
- | ^ Vector | ||
- | ^ WFS | | | ||
- | ^ TMS | | | ||
- | |||
- | Esempi: | ||
- | |||
- | <code javascript> | ||
- | var layerMapnik = new OpenLayers.Layer.OSM.Mapnik(" | ||
- | </ | ||
- | |||
- | <code javascript> | ||
- | var markers = new OpenLayers.Layer.Markers(" | ||
- | </ | ||
- | |||
- | <code javascript> | ||
- | var pois = new OpenLayers.Layer.Text(" | ||
- | location:" | ||
- | </ | ||
- | |||
- | <code javascript> | ||
- | var track_style = new OpenLayers.Style(); | ||
- | track_style.strokeColor = "# | ||
- | track_style.strokeWidth = 7; | ||
- | track_style.strokeOpacity = 0.7; | ||
- | var object_trk = new OpenLayers.Layer.GML(" | ||
- | format: OpenLayers.Format.GPX, | ||
- | style: track_style, | ||
- | projection: map.displayProjection}); | ||
- | map.addLayer(object_trk); | ||
- | </ | ||
- | |||
- | <code javascript> | ||
- | var gsat = new OpenLayers.Layer.Google( | ||
- | " | ||
- | </ | ||
===== Dynamic layer update ===== | ===== Dynamic layer update ===== | ||
Line 184: | Line 142: | ||
This recipe can be improved by adding a '' | This recipe can be improved by adding a '' | ||
- | |||
- | ===== Using Blue Marble imagery with OpenLayers ===== | ||
- | |||
- | ==== Raster datasets from NASA ==== | ||
- | |||
- | Several imagery sets exists from NASA, among them: | ||
- | |||
- | * **[[http:// | ||
- | * **[[http:// | ||
- | |||
- | The original Blue Marble images came from **[[http:// | ||
- | |||
- | ==== Blue Marble WMS Server ==== | ||
- | |||
- | **[[http:// | ||
- | |||
- | OnEarth WMS server by NASA offers a standard WMS service plus a "Tiled WMS" (prerendered tiles). | ||
- | |||
- | * http:// | ||
- | * http:// | ||
- | |||
- | ==== World Wind ==== | ||
- | |||
- | **[[http:// | ||
- | |||
- | **World Wind** is a software (open source but MS-Windows only) developed by NASA which allows to pan and zoom into several raster datasets offered by NASA servers. World Wind uses (among others) Blue Marble imagery. | ||
- | |||
- | The same imagery server can be used by other software, e.g. OpenLayers via the '' | ||
- | |||
- | ==== Blue Marble WMS Tiled Server ==== | ||
- | |||
- | * **[[http:// | ||
- | |||
- | This is an extension to the standard WMS protocol, the capabilities of such services are exposed at: | ||
- | |||
- | * [[http:// | ||
- | |||
- | Some of the tags announced by the service are: | ||
- | |||
- | ^ OnlineResource | ||
- | ^ LatLonBoundingBox | ||
- | ^ width, height | ||
- | ^ format | ||
- | ^ bbox | Tile coverage | ||
- | ^ Name | ||
- | ^ Title | | | ||
- | ^ Abstract | ||
tecnica/gps_cartografia_gis/openlayers_900913.txt · Last modified: 2010/11/05 14:47 by niccolo