User Tools

Site Tools


map_suite_querying

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_querying [2015/11/19 16:51]
mwolffer [Spatial Query]
map_suite_querying [2015/12/03 09:40] (current)
tgwikiupdate [Video Overview]
Line 5: Line 5:
  
 <div newline></​div>​ <div newline></​div>​
 +<div download_viewsource_buttons tryitonline>​
 +{{filehistory:​WebAPIEditionSample_Querying_CS_151111.zip|C#​ Project}}
 +[[source_code_webapieditionsample_querying.zip|View Source]]
 +[[http://​samples.thinkgeo.com/​WebApiEdition/​SampleTemplates/​QueryTools/​leaflet/​|Try It Online(Leaflet)]]
 +[[http://​samples.thinkgeo.com/​WebApiEdition/​SampleTemplates/​QueryTools/​openlayers/​|Try It Online(Openlayers)]]
 +
 +</​div>​
 =====Overview===== =====Overview=====
 Map Suite WebAPI Edition supports multiple ways of how to query your map data layers. In this learning sample we will discuss some of the various querying tools. Map Suite WebAPI Edition supports multiple ways of how to query your map data layers. In this learning sample we will discuss some of the various querying tools.
Line 21: Line 28:
 {{webapiedition:​codesamples:​QueryTool_Query_Feature_By_Distance_Desktop.png?​300x180}} {{webapiedition:​codesamples:​QueryTool_Query_Feature_By_Distance_Desktop.png?​300x180}}
 </​div>​ </​div>​
-In this sample, we are going to show you a popular ​way to query with the mapping and GIS application ​is by distance. ​We can get all features it was in giving distance of giving point. Usually, ​you can use other features such as polygons airlines ​to distance ​careers as well.+Another ​popular ​type of query in GIS applications ​is to query by distance. ​In this example we show you how to return countries within a given distance ​from a point 
  
  
Line 31: Line 38:
 {{webapiedition:​codesamples:​QueryTool_Query_All_Feature_Data_Desktop.png?​300x180}} {{webapiedition:​codesamples:​QueryTool_Query_All_Feature_Data_Desktop.png?​300x180}}
 </​div>​ </​div>​
-In this samplewe are showing how query all features data, here we are showing ​a grid representation of all the countries of the world, and if we click on one of these magnifier we can actually zoom into that country.+This sample shows inner relation between tabular or feature data associated with each shape. ​In this sample we show a grid representation of each country in the world. When clicking ​on the result users are zoomed in to that specific ​country. This can be very helpful if you are using a data grid and want to be data driven or vice versa.
 <div newline/>​ <div newline/>​
 <div newline/>​ <div newline/>​
Line 40: Line 47:
 {{webapiedition:​codesamples:​QueryTool_Query_Feature_By_Click_Desktop.png?​300x180}} {{webapiedition:​codesamples:​QueryTool_Query_Feature_By_Click_Desktop.png?​300x180}}
 </​div>​ </​div>​
-In this sample ​we are going to show you how query feature by click on the mapat the same time we get the data of feature by your clicked.+Users can also click on the map to find all features associated with what was clicked on. In this example ​we click on Brazil which returns all the attribute data associated with BrazilThis sample shows you how to use the map click event and how to query through ​the API.
 <div newline/>​ <div newline/>​
 <div newline/>​ <div newline/>​
Line 48: Line 55:
 {{webapiedition:​codesamples:​QueryTool_SQL_Query_Desktop.png?​300x180}} {{webapiedition:​codesamples:​QueryTool_SQL_Query_Desktop.png?​300x180}}
 </​div>​ </​div>​
-In this samplewe unlocked allow the power of SQL to allow you to write custom queries against ​your data sources. ​So here we wrote a SQL query to return any countries that are landlocked ​and when that we have API is with the Map Suite at I’d executed SQL return any resultsAnd here we are highlighting those countries ​on the map.+This sample we use the power of SQL which allows users to write custom queries against ​their data sources. ​In this example ​we wrote a SQL query to return any countries that are landlocked. For the result we highlight each country ​that meets the criteriaThis is another great way on how you can use the various querying APIs to analyze your data.
 <div newline/>​ <div newline/>​
 <div newline/>​ <div newline/>​
  
map_suite_querying.1447951898.txt.gz · Last modified: 2015/11/19 16:51 by mwolffer