Extract Data Task - Clip and Ship Not exporting

3026
20
05-09-2011 07:25 AM
BenSayers
New Contributor II
Hi there,
I am trying to replicate the Clip and Ship Geoprocessing sample using my own data and I am having trouble getting the data to export.

I am getting a zip file exported and downloaded but the shapefile is empty although the .DBF does have the column names.

My data is held in Oracle in British National Grid (SRID 27700) and the map uses web mercator (102100). I am setting the geoprocessing output spatial refernce but this does not seem to affect anything.
gp = new esri.tasks.Geoprocessor("http://maps.lynxinfo.co.uk:8080/LIVE/services/UKOGL/UKOGLTools/GPServer/Extract%20Data%20Task");
gp.setOutSpatialReference({wkid:27700});

Does anyone have any idea what I need to do to fix this?
0 Kudos
20 Replies
AndrewKeith1
New Contributor

Alex,

Did you ever figure out how to use a query to clip the data?  I am in need of this too.  Thanks.

0 Kudos