• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Tutorial   dekho queries
 

Tutorial dekho queries

on

  • 1,094 views

Slides to accompany this post: http://www.dekho.com.au/understanding-queries-and-saying-goodbye/

Slides to accompany this post: http://www.dekho.com.au/understanding-queries-and-saying-goodbye/

Statistics

Views

Total Views
1,094
Views on SlideShare
1,021
Embed Views
73

Actions

Likes
0
Downloads
2
Comments
0

1 Embed 73

http://www.dekho.com.au 73

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Tutorial   dekho queries Tutorial dekho queries Presentation Transcript

    • Dekho queries
    • Agenda• Introduction to Dekho queries• Query types and how to use them• Spatially enabled queries• Best practices and considerations
    • Complete the picture… with queries..
    • Dekho queries• Pull information from data sources – Internal / External – Database / Web service / Map service• Defined in Dekho Studio• Executed in runtime by end user• Require some SQL skills• Reusable between applications
    • Query sources• JDBC connection• Esri ArcGIS Server Map Service (GDB Only)• Web Service
    • Query types• Searching – Search 1 – Combo + Type-Ahead• Result viewing – Layer Information Query 2 – Feature Info Query 3• Others – Call out – Integration
    • Defining a Search Query• Always executed against a feature class in the GDB• Returning a single spatial feature set (ObjectID)• User interaction – data entry fields (optional)Select * from [Feature Class]Where [User data entry]Select * from propertiesWhere street_name like %Manningtree%
    • User data entry fields• Go into the “Where clause” of the search SQL statement• Text / Date / List / Drop Down
    • Type-ahead Combo-box
    • Combo and Type-ahead• Structure user data entry in search queries• ANY database (not just the GDB)• Lists Of Values (LOV): – Value = What you display ID Value – ID = What you use Vic Victoria• Ordered (? Your call…) NSW New South Wales Tas Tasmania WA West Australia SA South Australia NT Northern Territory
    • Reusing Combo and Type-ahead• Define once and reuse Search #1 Search #2 Search #3 Combo-Box Query
    • Working with search results• Working with a complete picture• Connecting with non-spatial data ObjectID sources ObjectID ObjectID ObjectID ObjectID• Getting the information you need ObjectIDObjectID ObjectID
    • LIQ’s and FIQ’sLayer Information Specific feature Information
    • Getting the information you need Current GDB Selected FeatureAsset ID Asset Mgmt The information System I wish to display
    • Getting the information you need Foreign Asset Id KEY ObjectID AssetID ObjectID GDBAsset ID AID Asset Mgmt System AssetID
    • GDB link to 3rd party systems
    • Getting the information you needObjectID AssetID AID X Y ZWhat Dekho does:1. Get AssetId by ObjectID (GDB)2. Find row in AMS table based on AssetID3. Select relevant fields (X,Y,Z)
    • Getting the data you need Asset ID ObjectID+AssetID Mapping relationship SELECTION.AssetID = AMS.AssetIDAsset Mgmt GDB System
    • LIQ’s and FIQ’sMultiple queries span across multiple tabs
    • Example: reviewing a property FIQ1 FIQ3 FIQ2Owners history list Lot # information Related approvals
    • Queries and maps
    • Query types• Searching – Search – Combo + Typeahead• Result viewing – Layer Information Query – Feature Info Query• Others – Call out – Integration
    • Callout Query• Any data source• Select relevant fields
    • Dekho Integration Query• SQL query that translates one set of values (OBJECTID) to another (ASSETID)
    • Dekho Integration Query
    • Dekho Integration Query
    • Query types• Searching – Search – Combo + Typeahead• Result viewing – Layer Information Query – Feature Info Query• Others – Call out – Integration
    • Spatial selectionI want users to search a heritage site and see properties that intersect with the selected heritage site
    • Spatial selection Spatial queryProperty lot layerHeritage site layer Search query
    • Queries points for consideration
    • Remember!!• Spatial query is optional – Search query – Feature Info query• Results are from the TARGET layer
    • Queries points for consideration• Renaming DB fields names to logical names select Field_Name1 as “User Friendly Name1”• Complete the picture vs. Information overload – Avoid select * statements – Use multiple FIQ’s and LIQ’s – Map to end user workflow• Query performance optimization
    • Complete the picture… with queries..
    • Product Information:www.esriaustralia.com.au/dekhowww.esriaustralia.com.au/dekhohelpwww.esriaustralia.com.au/dekhoblog