Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Augmented Reality using ArcGIS and Layar

In this presentation we'll take a quick look at combining the power of ArcGIS spatial data management with the AR view of Layar.
by

Pat Barnhart

on 9 March 2011

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Augmented Reality using ArcGIS and Layar

Phone Webserver ArcGIS
Server Layar Json Request Layar Json Response REST Request JSON Response Request Data Data Layar only handles POINTS
Coordinates are Lat/Lon
Elevations are in FEET
Distances are in METERS helps to include
point elevation
in feature table Augmented Reality using
ArcGIS and LAYAR How's it work? What's it do? Wikipedia - Augmented reality (AR) is a term for a live direct or an indirect view of a physical, real-world environment whose elements are augmented by computer-generated sensory input, such as sound or graphics. Sci-fi Virtual Goggles for your phone Layar uses the gps, compass, camera,
data connection, and viewscreen of an
android or iphone to create an AR viewer. Layar Examples Layar Browser How do I get Started? Intro Hi! Thanks for attending! Who am I? Patrick Barnhart
Application Developer
Geographic Information Services, Inc
pbarnhart@gisinc.com
http://blog.gisinc.com Pat GIS Inc Why are we here? We're Smart! AR is coming and as
gis developers, we're right in the middle of it. rockstar Houses for sale
Navigation buoys
Stadiums
Twitterers (Tweeters?) No analysis
Limited feature types
Basically, it's a data viewer Guess where ArcGIS comes in Register with Layar as a developer
Use the Layar dashboard to create a new layer
Point the api endoint at your url
Load the Layar App and log in to your account
Test your new layer using the online tools and your phone
Request approval to publish It's free Takes a couple of days http://mygisserver/ArcGIS/rest/services/Pipes/MapServer/0/query?
geometryType=esriGeometryEnvelope
geometry=-100.1,34.9,-99.9,35.1
&outFields=DIAMETER,ID_IN,ID_OUT,DEPTH
&f=json hotspots: [
{
morePages: false
id: "1"
distance: 39.31278583849237
title: "Pipes"
attribution: "Item ID: 1"
line2: "Depth: 10"
line3: "Pipe Size: 60in"
line4: "Pipe Length: 37.2624582005427m"
lat: 34999646
lon: -100000007
dimension: 3

transform: {
rel: false
angle: 90
scale: 1
}

object: {
baseURL:http://www.myserver.com/layar_pipes/models/
full: "1.l3d"
reduced: "1.l3d"
size: 37.26245820054272
}

actions: [ ]
type: 1
relativeAlt: -10
showSmallBiw: true
showBiwOnClick: false
} http://www.myserver.com/layar/Service1.svc/GetData?
userId=1
&layerName=Pipes
&lat=35
&lon=-100
&action=refresh
&alt=1325 public class arcGISResponse
{
public List<features> features;
}

public class features
{
public attributes attributes;
public geometry geometry;
}

public class geometry
{
public double x;
public double y;
}
public class attributes
{
public int DIAMETER;
public int ID_IN;
public int ID_OUT;
public int DEPTH;
} {
"displayFieldName":"OBJECTID",
"fieldAliases":{
"FID":"FID",
"OBJECTID":"OBJECTID",
"DIAMETER":"DIAMETER",
"ID_IN":"ID_IN",
"ID_OUT":"ID_OUT",
"DEPTH":"DEPTH"
},
"geometryType":"esriGeometryPoint",
"spatialReference":{"wkid":4326},
"fields":[{
"name":"DIAMETER",
"type":"int",
"alias":"FID"
}
...]

"features":[
{
"attributes":{
"FID":0,
"OBJECTID":1,
"DIAMETER":60,
"ID_IN":1,
"ID_OUT":2,"DEPTH":10},
"geometry":
{
"x":-116.54700721699999,
"y":33.798146485000075
}]} public class MainResponse
{
public IList<Hotspots> hotspots;
public string layer;
public int errorCode;
public string errorString;
public int radius;
}
public class Hotspots
{
public bool morePages;
public string id;
public double distance;
public string title;
public string attribution;
public string line2;
public string line3;
public string line4;
public int lat;
public int lon;
public int dimension;
public Transform transform;
public PoiObj poiObject;
public Array actions;
public int type;
//public int alt;
public int relativeAlt;
public bool showSmallBiw;
public bool showBiwOnClick;
}
public class Transform
{
public bool rel;
public double angle;
public double scale;
}
public class PoiObj
{
public string baseURL;
public string full;
public string reduced;
public double size;
} Layar Request ArcGIS REST Request Construct Response ArcGIS
Response Deserialized Layar Response Serialized add symbols, images,
models, actions, attributes and more! www.Layar.com
Full transcript