Select to view content in your preferred language

Query results do not re-project correctly

744
1
08-03-2010 04:58 AM
JamesSalmons
New Contributor
Good day!

I am using the Sample Flex Viewer and attempting to modify the "search widget" to query a "polygon" layer in one map service layer then using the resulting polygon to query another map service layer for points within the resulting polygon.

I have successfully queried the polygon and have been able to use that polygon to query and locate the points within.

Problem: While the second query correctly selects the correct points within the polygon, when displaying the points they are plotted way off on the other side of the world.

The only thing I can think could be causeing this is a spatial projection issue. Indeed the map services ARE on different projections. When running the application in "firebug" it shows the lat-long values of the point file since it is on WGS-84 but the spatialreference is indicating that it is WebMecator or 102100. Our base map is on WebMecator but the polygon layer is on 2264.

Does anyone have any suggestions on how to plot the resulting points correctly? Any help would be greatly appreciated.
Tags (2)
0 Kudos
1 Reply
raffia
by
Deactivated User
Hi James;

In the unlikely event that you are still following this thread...did you ever solve this issue, I am trying to do the same exact thing.
0 Kudos