Hello,
Not sure what the best approach is here.
I have a huge shapefile from Florida GIS website. The issue I am having is, I want to crop a portion of this file because I really only need a small section. I tried the maptrim command and I have left my computer running for 48 hours and it still has not finished! I tried on two different computers with the same results (16GB RAM, i7 processor, SSD drive).
Is there an easier way of accomplishing this?
Solved! Go to Solution.
Solved by Gary_Braun. Go to Solution.
Hi,
if you have larger data sets you might be better off to a bit of "preprocessing" in order to reduce the data set.
In your case I see two approaches:
1) Connect to SHP vial via DataConnect(FDO)
2) Load features roughly only for extent you are interested in (either define QueryWindows before adding data to Map or afterwards in context menu of Layer add spatial filter)
3) export the reduced data set by choosing "Save layer as SDF" in context menu
4) import SFD via _mapimport
5) trim
or
1) import SHP data set (_mapimport)
2) save and close drawing
3) attach saved drawing to Map (_adedrawings)
4) query drawing - spatial query for area of interest (_adequery)
5) detach drawing
6) save drawing
7) trim
Good Luck, Rob
If you are referinging them through FDO then use Add to Map with Query and use the Locate on Map tool to define your area.
If you are importing them using MAPIMPORT then there is a spatial filter in the upper right of the dialog box, just define the window on screen.
Either method should give you want you need.
Can't find what you're looking for? Ask the community or share your knowledge.