Select to view content in your preferred language

Export/Download Feature Class to Shapefile or Text File from Flex Client

3239
3
10-17-2010 08:27 PM
HenryKo
Deactivated User
Hi,

I have a requirement where the map client needs to allow users to download a filtered feature class as shapefile or text file.

Specifically, they can specify some filter (e.g. date is larger than 1980, status == "blah"... etc) on the map client, and map client will construct a "where" on the feature class for download as shapefile or text file.

I have looked some GP tools but none of them allows "where" clause to be specified.

My current thinking is to use ArcObjects to write a SOE or web service.

Any suggestions?

p.s. the map client is a Flex (sample flex viewer) application.

Thanks.
Tags (2)
0 Kudos
3 Replies
JakubSisak
Honored Contributor
Try posting in Flex forum.
0 Kudos
HenryKo
Deactivated User
Hi,

For those interested, we ended up using a geo-processing model to:

(A) Filter out the records with "Make Query Table"
(B) Use the result of "Make Query Table" to generate text file or shapefile using standard ArcGIS tools.

We also had to write web services to zip up the text files or shapefiles. The URL paths of the zipped files are sent back to the calling client (Flex, JavaScript etc).

Cheers.
0 Kudos