User Tools

Site Tools


map_suite_layers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
map_suite_layers [2015/09/21 02:26]
admin
map_suite_layers [2015/12/03 09:29] (current)
tgwikiupdate [Video Overview]
Line 1: Line 1:
 ====== Map Suite Layers ====== ====== Map Suite Layers ======
  
-This page will be shard across all of the Map Suite Products ​and discuss ​the different Layers ​and data formats that can utilized ​to build up a map.+===== Video Overview ===== 
 +{{youtube>​a_C4ONKatxc?​large |Web API Layers Learning Sample}} 
 + 
 +<div newline></​div>​ 
 +<div download_viewsource_buttons tryitonline>​ 
 +{{filehistory:​webapieditionsample_layers_cs_20150820.zip|C#​ Project}} 
 +[[source_code_webapieditionsample_layers.zip|View Source]] 
 +[[http://​samples.thinkgeo.com/​WebApiEdition/​SampleTemplates/​Layers/​leaflet/​|Try It Online(Leaflet)]] 
 +[[http://​samples.thinkgeo.com/​WebApiEdition/​SampleTemplates/​Layers/​openlayers/​|Try It Online(Openlayers)]] 
 + 
 +</​div>​ 
 +=====Overview===== 
 +Map Suite WebAPI Edition supports many popular GIS file formats. In this learning sample we will go over some of the most common supported GIS data formats and also discuss the concept of a layers and how they are used to create maps.  
 + 
 +=====What is a Layer?​===== 
 + 
 +A layer is a visual representation of geospatial data. You can think of layers much like actual terrain in the real world. The bare earth might be a layer and have either physically defined boundaries, such as a fence around a military installation,​ or legal boundaries, such as the border ​of a country. Another layer on top of that might be roads that are built upon the bare earth. It is important to understand this when working with layers, as they need to be added in the logical order you might expect so that they can be visualized correctly from above. In other words, you would not want to lay down roads and then cover them with earth, because they could not be seen or used by vehicles. 
 + 
 +=====Types of Layers===== 
 + 
 +There are three types of layers that are supported by all editions of Map Suite: Vector, Raster, ​and Web-Based. Vector is one of the most popular GIS data formats and may contain points, lines, ​and polygons. It is useful for storing ​data that has discrete boundaries, such as country borders, land parcels, and streets. Raster data contains a matrix of pixels and is used for digital images such as aerial imagery, floor plans, or topographic maps. Web-based data comes in a variety of forms. It could be basemaps served by Google or Bing. It could be data such as NOAA weather information. Check out the [[Map_Suite_Data_Format_Guide|Map Suite Data Format Guide]] to see all the formats that are supported by Map Suite. 
 + 
 +In this learning sample we will go over some of the most popular types of of layers: 
 + 
 +**Vector** 
 +  * Shapefile 
 +  * TAB 
 +  * TinyGeo 
 +  * FileGeoDatabase 
 +  * SQLite 
 +  * WKB 
 +  * KML 
 +  * MapShape 
 +  * InMemoryFeature 
 + 
 +**Raster** 
 +  * MrSID 
 +  * JPEG2000 
 +  * GeoTIFF 
 +  * BMP/​PNG/​GIS/​JPG/​Tiff 
 + 
 +**Web Service** 
 +  * NOAA Radar 
 +  * NOAA Weather Station 
 +  * WMS 
 + 
 +There is also a customized layer that contains custom vector data to demonstrate the extensibility of Map Suite and how you can integrate almost any type of data format. 
 + 
 +=====Overlays===== 
 + 
 +In order to better manage layers and to benefit from caching layers may be grouped as overlays. All layers in an overlay will generate one bitmap. Caching occurs at the overlay level where the bitmap is generated.  
 + 
 +=====Styling the Layers===== 
 + 
 +The order of your layers is very important and will determine what is visible. You would create and add layers based on how they should be viewed, so naturally you might start with some polygons, such as the outline of country and all of the regions within it. You might then lay down lines that represent rivers and roads and then finally you might lay down points like cities or places of interest. Again, keep in mind that logic will dictate what works best. For instance, laying down roads and then rivers would put rivers on top of roads when it should more than likely be the other way around (the exception here might be a tunnel!). 
 + 
 +=====A Look at the Code===== 
 + 
 +There are two projects in the Visual Studio solution. One is for the Leaflet javascript mapping library and one is for OpenLayers. In each project the LayersController contains the function that loads each layer type. Each function is prefaced with the type of layer. At the bottom is InitializeProjection which sets up the map projection and DrawTileImage which draws the Layer Overlay bitmap. The App_Data folder contains data for each of the layer types.
  
-   - Talk about the concept of a Layer and how maps are made 
-   - Talk about the different types of Layers (Vector, Raster, Web Based) Point to Data Format Guide 
-   - Talk about how to group layers in to Overlays for better control and caching. 
-   - Lead into to how to Style the layers to make a pretty map. 
  
map_suite_layers.1442802403.txt.gz · Last modified: 2015/09/21 02:26 by admin