-1

Is it possible to extract a small portion of data from an entire database? If possible then how can I do it. I want data to be extracted which is within my map view only, so that other data objects are excluded: only objects contained in the map view should be in the extract.

2
  • 3
    what software are you using? Is this desktop GIS or on the web? More info required
    – Stev_k
    Commented Apr 11, 2012 at 11:11
  • Just to clarify, by "contained in" do you mean the features fall entirely within the current extent, or that they overlap the current extent? Commented Apr 11, 2012 at 14:30

2 Answers 2

2

I am assuming from GIS database and map view that you are using ArcGIS.

If so the below steps could help.

  1. Activate the Distributed Geodatabase toolbar. Dsitributed Geodatabase Toolbar
  2. Zoom to the map view you want.
  3. Click the extract Data button.
  4. Select Show Advanced Options enter image description here
  5. Enable Current Display extent. enter image description here
2
  • Thanks for your reply.I am using GE Smallworld GIS and I want the small portion of data to be extracted as Datastore file so that using that DS file I can open new image...Please suggest method for this.
    – Anshu
    Commented Apr 12, 2012 at 4:43
  • I just want spatial extraction(extract for network objects) process
    – Anshu
    Commented Apr 12, 2012 at 5:01
0

As with your other question, you've failed to specify which database you're using and the SQL will vary a bit between databases. I'll leave others to deal with this aspect.

Given you're apparently using FME (per your other question), you can use that to do it in a couple of ways:

a) Once you've added the reader you can specify Maximum x,y and minimum x,y as parameters and the reader will only select features within those bounds. That creates a square bounding box.

b) Alternately you can pass the data through a SpatialFilter and check against a shape of your given area. Use the "INTERSECTS" test.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.