Академический Документы
Профессиональный Документы
Культура Документы
Session INT005
Mapping and Geolocation with FileMaker
Thomas Kunetz
FileMaker Inc.
Who am I?
Systems Engineer since 5.5 @ FileMaker
FileMaker Certified Developer 7, 8, 9, 10, 11, 12
Main territories :
France
Italy
Belgium
Netherlands
Africa
Middle-East
Eastern-Europe
Agenda
Geolocation
One Address
Directions
Multiple Addresses
Mapping
FusionMaps
SVG
Conclusion
Parsing
http://maps.google.com/maps?q=5201+Patrick+Henry
+Drive,Santa+Clara,+CA+95054,+USA
WebViewer
"http://local.google.com/maps?" & "q=" & /*Address=*/
Database::Street & "," & /*City=*/ Database::City & "," & /
*State=*/ Database::State & "," & /*Zip Code=*/
Database::Zip & "," & /*Country=*/ Database::Country
Reverse Geocoding
Transforming Lat / Lng coordinates to a physical address
Options:
Language
Geocoding
Request:
http://maps.googleapis.com/maps/api/geocode/xml?
address=5201+Patrick+Henry+Drive,Santa+Clara,CA
+95054,USA&sensor=false
Result
Parsing using Custom functions
<GeocodeResponse>
<status>OK</status>
<result>
<type>street_address</type>
<formatted_address>5201 Patrick Henry Dr, Santa Clara, CA 95054, USA</
formatted_address>
<address_component>
<long_name>5201</long_name>
<short_name>5201</short_name>
<type>street_number</type>
</address_component>
<address_component>
<long_name>Patrick Henry Dr</long_name>
<short_name>Patrick Henry Dr</short_name>
<type>route</type>
</address_component>
<address_component>
<long_name>Santa Clara</long_name>
<short_name>Santa Clara</short_name>
<type>locality</type>
<type>political</type>
</address_component>
Demo
Geolocation - Directions
Directions - Steps
Parsing multiple records to concatenate the
addresses
Creating one GoogleMaps URL request
http://maps.google.com/maps?q=5201 Patrick Henry
Drive, +Santa Clara, +CA, +95054, +USA+ to:1
infinite loop, +Cupertino, +CA, +95014,
+USA&output=embed
Demo
https://developers.google.com/maps/documentation/
directions/
Steps
Geocoding the addresses in Lat / Lng coordinates
Script step (Insert from URL)
Parsing with Custom functions
Demo
Custom Markers
Groups
Clusters
Actions
Photos
...
https://developers.google.com/maps/documentation/
javascript/reference
PHP
http://code.google.com/p/php-google-map-api/
Example :
http://monumentsmorts.univ-lille3.fr/cartographie/
OpenStreetMaps
http://www.openstreetmap.org/
NokiaMaps
http://maps.nokia.com
Mapping
Definition
Setup
Using FusionMaps
Using SVG
FusionMaps
Definition
Based on Flash
Script or Calculation driven
Not a Plug-in
Free
http://www.fusioncharts.com/extensions/filemaker/
Demo
SVG
SVG (Scalable Vector Graphics)
XML-based file format for two-dimensional vector graphics,
both static and dynamic
XML = Text
Rendering in the Web viewer in Data mode
"data:image/svg+xml;charset=utf-8," ....
Demo
Important considerations
Licensing of Google Maps Use
Volatile
Connected
FileMaker Go compatibility
Conclusion
Unique way to represent Data
Think before you map
Resources
GoogleMaps Licensing terms
https://developers.google.com/maps/terms
Geocoding
https://developers.google.com/maps/documentation/
geocoding/
FileMaker examples
Starter Solutions (Contacts,...)
Using FileMaker Go 12 to track your Location by
Douglas Alder
http://homebasesoftware.wordpress.com/2012/06/28/wheream-i-using-filemaker-go-12-to-track-your-location/
Merci !
Thank You!
Please remember to fill out your
evaluation at:
www.filemaker.com/devcon/evaluations