SELECT ST_INTERSECTS('geometry', POLYGON(KML?)) with google Fusion Tables -


i've seen st_intersects can call...

st_intersects('geometry', circle(latlng(lat,lng),1)) 

how write if want have polygon instead?

st_intersects('geometry', polygon( outerboundaryis( latlng(lat,lng),latlng(lat,lng)),(..next shape) ))) 

or can use kml in way?

st_intersects('geometry', '<multigeometry><polygon> <tessellate>1</tessellate><extrude>0</extrude> <altitudemode>clamptoground</altitudemode> <outerboundaryis><linearring> <coordinates>lats,lngs</coordinates> </linearring></outerboundaryis></polygon></multigeometry>') 

thanks! quince

answer(wouldn't let me post yet): figured par out.

select 'name' 1vvuotygcnlbxmd66lzehj81-tbgpiykpvmxazxyh  st_intersects('geometry',   polygon(  latlng(40.249528, -120.8435),   latlng(40.258326, -121.061249),   latlng(40.301765, -121.007911),   latlng(40.249528, -120.8435) )) 

you can execute query @ link below. https://console.developers.google.com/project/280742519599/apiui/api/fusiontables/method/fusiontables.query.sql

fusiontables doesn't support intersection of 2 polygons. there feature request has been marked "wontfix"


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -