Hi,
I'm trying to import .gdb (file geodatabase) file using python
while everything works fine, I'm having trouble defining custom envelope for my import to crop an area out from big .gdb file:
no matter what I put into [] it always loads all 490 objects:
setImportQueryAndEnvelope("OBJECTID < 491", [7157.656, 4162.500,274845.500,5143901.000] ,"NORTH_WEST")
but I'm not sure if the syntax is correct because manual suggests:
@param env: The spatial envelope with syntax (xMin, xMax, yMin, yMax). (default = None). [sequence of float]
while in dialog there are options for width, height and X-Offset and Y-Offset
I tried the documentation's syntax to achieve 1x1 km crop using :
[7157.656, 7257.656, 4162.500, 4262.500]
(the 2nd and 4th values are just incremented by 1000 - to correspond with manual's syntax of xMin, xMax, yMin, yMax ) but the output is always the same..
I also tried to put all zeros in dialog window and it correctly loaded 0 objects
but when I try the same thing in code using [0,0,0,0] it still loads all 490 objects and it should load 0 objects instead
any help appreciated.
thanks,
Mark