• Save
Datos espaciales con SQL Server 2012
Upcoming SlideShare
Loading in...5
×
 

Datos espaciales con SQL Server 2012

on

  • 772 views

 

Statistics

Views

Total Views
772
Views on SlideShare
772
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

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

Datos espaciales con SQL Server 2012 Datos espaciales con SQL Server 2012 Presentation Transcript

  • Oportunidad de negociosAplicaciones sofisticadas Tecnología siempre• Más Fuentes de datos presente• Más tipos de datos • GPS• Sistemas integrados • Servicios de mapas en línea • Disponibilidad de datos espaciales
  • Administración y desarrollo para los clientes Análisis de bienes raíces Datos realciones con el impacto ambientalEstudios científicos Análisis económico y financiero Segmentación y Análisis para planificación análisis del mercado del gobierno
  • Tree, Pole, Hydrant, POINT MULTIPOINT Valve Road, River, RailwayLINESTRING MULTILINESTRING , Pipeline Cadastre, Park, Ad POLYGON MULTIPOLYGON ministrative BoundaryCOLLECTION Graphics, Markups
  • Para hacerlo similar a geometríaMakeValid los convierte en métodos válidosFULLGLOBE spatial object está disponible“small holes” pueden ser creados
  • PointSTBuffer
  • geo STDistancegeo STIntersects
  • geography data type geometry data type• Geodetic (“Round Earth”) geospatial model: • Planar (“Flat Earth”) geospatial model • Ellipsoidal coordinates (Lat, Long, Z, M) • projected „flat map‟ (X, Y, Z, M)• Define points, lines, and areas with longitude and latitude • Define points, lines, and areas with coordinates• Account for planetary curvature and obtain accurate “great • Use for localized areas or non-projected surfaces such as circle” distances interior spaces
  • Well-Known-Binary:0x0103000000010000000500000000000000004CDDC000000000004C0D4100000000004CDD4000000000004CDD4000000000C07A104100000000004CDD400000000000BD0F41000000000088134100000000004CDDC000000000004C0D41Well-Known-Text:POLYGON(( -30000 240000, 30000 30000, 27000030000, 260000 320000, -30000 240000))GML:<Polygon xmlns="http://www.opengis.net/gml"> <exterior><LinearRing><posList> -30000 240000 30000 30000 270000 30000 260000 320000 -30000 240000 </posList></LinearRing></exterior></Polygon>
  • CIRCULARSTRING(0 50, 90 50, 180 50, 270 50, 0 50)CURVEPOLYGON (CIRCULARSTRING (0 50, 90 50, 180 50, 270 50, 0 50))
  • Calcular distancias e intersecciones, etc.Encontrar las calles que interceptan el Microsoft campus SELECT StreetName FROM Streets WHERE Streets.StreetGeo.STIntersects(@ms) = 1
  • STUnion STIntersectionCOMPOSITION STDifferenceOPERATIONS STSymDifference STIntersects STContainsRELATION OPERATIONS STWithin STTouches STOverlaps STConvexHull STBufferCONSTRUCTIONS STReduce BufferWithCurves ShortestLineTo STDistance STLengthNUMERICAL STAreaOPERATIONS
  • geometrygeography STCurveN(int n)Int STNumCurves()geometrygeography STCurveToLine()geometrygeography CurveToLineWithTolerance(int tolerance, bool relative)geometrygeography BufferWithCurves(double range)geometrygeography ShortestLineTo(geometrygeography other)Bool CompatibleWithDbCompatibilityLevel(int compatLevel)Bool STIsValid()Geography MakeValid()Bool STContains(geography other)Bool STWithin(geography other)Bool STOverlaps(geography other)Geography STConvexHull()Bool ReorientObject(geography other)
  • BufferWithCurves()Este método construye el polígono resultante conarcos circulares que usualmente es un objeto máspequeñoDECLARE @g GEOGRAPHY =GEOGRAPHY::STGeomFromText(CIRCULARSTRING(0 50, 45 50,90 50),4326)DECLARE @b GEOGRAPHY = @g.BufferWithCurves(500000)SELECT @b.STNumPoints()--Number of vertices: 11DECLARE @g GEOGRAPHY =GEOGRAPHY::STGeomFromText(CIRCULARSTRING(0 50, 45 50,90 50),4326)DECLARE @b GEOGRAPHY = @g.STBuffer(500000)SELECT @b.STNumPoints()--Number of vertices: 257
  • ReorientObject• Este método invierte el orden de las coordenadas que definen los aros del polígono• Este método solo funciona con el tipo GEOGRAPHY.
  • geography::Point(lat, lon, 4326)geography::Point(lat, lon, 4326)
  • geocoder webgis.usc.edu/Services/Geocode/About/GeocoderList.aspx
  • www.idvsolutions.com/products_spatialWiki.aspx
  • agregaciones
  • www.geodata.gov www.openstreetmap.org www.census.gov/geo/www/cobdatamarket.azure.com
  • Shape2SQLMapPoint Add-in for SQL ServerSAFE FMEESRI ArcGISPitney Bowes EasyLoader
  • Extienda e integre Tome ventaja de los Cree soluciones de aplicaciones datos espaciales alto desempeño espaciales• geometry • Almace datos • Compatibilidad con geography espaciales del estándares de la data types negocio industria• Métodos para • Spatial indexing • Biblioteca espacial operaciones completa espaciales• On premise y en la nube