[fdo-users] Clarification of Spatial Context

Dan Stoica dan.stoica at autodesk.com
Thu May 14 13:04:38 EDT 2009


See inline...

From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Cary Peebles
Sent: Thursday, May 14, 2009 12:40 PM
To: fdo-users at lists.osgeo.org
Subject: RE: [fdo-users] Clarification of Spatial Context


Ø  Thanks. I think the ArcSDE provider still supports it (3.3).  It is also the one that has geometric properties that refer to spatial contexts that do not show up when I list the contexts from the connection until I used the activate command. Without that I could not get the coordinate system information.
You might be right about ArcSDE. I had a quick look and indeed ActivateSpatialContext is implemented but I cannot see how the behavior you see is possible. Maybe is a bug?

Ø  The SHP provider is nicely behaved. Am I correct in understanding that the geometries returned have their coordinates always in terms of the coordinate system identified by the spatial context association of the geometric property for that feature class?
 Yes, you are correct.
From: Dan Stoica (via Nabble) [mailto:ml-user+64177-1034266727 at ...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2894971&i=0>]
Sent: Thursday, May 14, 2009 12:32 PM
To: Cary Peebles
Subject: RE: [fdo-users] Clarification of Spatial Context

FdoIActivateSpatialContext command has been deprecated. Which providers are still advertise it? SHP doesn't.

In any case, you should not use it since the geometric property's associated spatial context gives all the info you need.

-----Original Message-----
From: fdo-users-bounces at ...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2894754&i=0> [mailto:fdo-users-bounces at ...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2894754&i=1>] On Behalf Of Cary Peebles
Sent: Thursday, May 14, 2009 8:34 AM
To: fdo-users at ...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2894754&i=2>
Subject: [fdo-users] Clarification of Spatial Context


I am trying to use FDO to connect to a variety of data sources. I am a little
unclear about the coordinate systems. The connection will display available
spatial contexts and a geometric property will indicate it's associated
spatial context. I have noticed that the associated spatial context does not
always appear in the connection's list until that context is set as the
active spatial context.

Are the geometry data returned in the coordinate system identified by the
geometric property's associated spatial context or are they converted to one
that is identified as active on the connection? Do I have to set the context
on the connection each time I do a fetch of a geometry? For example, I am
accesing two different shapefiles and they are in two different coordinate
systems and I am a bit confused on how to properly work with the contexts.
--
View this message in context: http://n2.nabble.com/Clarification-of-Spatial-Context-tp2889778p2889778.html
Sent from the FDO Users mailing list archive at Nabble.com.

_______________________________________________
fdo-users mailing list
fdo-users at ...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2894754&i=3>
http://lists.osgeo.org/mailman/listinfo/fdo-users
_______________________________________________
fdo-users mailing list
fdo-users at ...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2894754&i=4>
http://lists.osgeo.org/mailman/listinfo/fdo-users
________________________________
This email is a reply to your post @ http://n2.nabble.com/Clarification-of-Spatial-Context-tp2889778p2894754.html
You can reply by email or by visting the link above.


________________________________
View this message in context: RE: [fdo-users] Clarification of Spatial Context<http://n2.nabble.com/Clarification-of-Spatial-Context-tp2889778p2894971.html>
Sent from the FDO Users mailing list archive<http://n2.nabble.com/FDO-Users-f2048584.html> at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-users/attachments/20090514/6e3ceb11/attachment-0001.html


More information about the fdo-users mailing list