381 reputation
114
bio website 0x80004005.appspot.com
location Vilnius, Lithuania
age
visits member for 3 years, 3 months
seen May 22 at 11:33

I type some code for ArcGIS Server, Desktop, Web.


May
7
comment open-source code for the map matching algorithm
'found in StackExchange' - better show us the link once you found it.
May
7
revised Limits for GP recordset / GP feature recordset for ArcGIS geoprocessing output fields?
Added server log message
May
7
asked Limits for GP recordset / GP feature recordset for ArcGIS geoprocessing output fields?
May
5
comment Analyzing hot spots using point attributes?
Right after reading your question the term "spatial aggregation" came to my mind. Before running to the nearest patent bureau I searched for this term and found that it's "in labs" today. :)
May
5
awarded  Benefactor
May
5
revised Is it possible to add python util scripts as shared libraries to esri geoprocessing toolbox?
I explained why bounty goes there...
May
5
comment Is it possible to add python util scripts as shared libraries to esri geoprocessing toolbox?
A good description is provided. This approach updates Python installation by installing "external libraries" (foo in the example). However it doesn't mention that 2 installations will be needed if we want to use the same tools in Desktop and Server. Say, for 10.2 they are at C:\Python27\ArcGIS10.2\Lib\site-packages (Desktop) and C:\Python27\ArcGISx6410.2\Lib\site-packages (Server).
May
4
comment Is it possible to add python util scripts as shared libraries to esri geoprocessing toolbox?
Your template is really good. Now I'm reading it and see: it has all what's needed when using Python toolbox: toolbox definition, definition of tools (adding one more tool: self.tools = [Tool1, Tool2]), and, of course, a simple way to add self-made shared utility functions.
May
4
accepted Performance is downgrading with multiple feature datasets design for ArcGIS?
May
4
comment Performance is downgrading with multiple feature datasets design for ArcGIS?
Thanks, I'm convinced that the current design will lead us to nowhere; DBMS with tens thousand tables will definitely lag. It's time for a fresh view.
May
4
answered Copy\ Paste folders and subfolders with python
May
4
comment Is it possible to add python util scripts as shared libraries to esri geoprocessing toolbox?
I want to pack, embed, whatever. We don't hide by encrypting. Users can read Python code if they want to. The main goal is to have one simple piece easy to install, upgrade to new version, etc. And I thought that tbx file can be such a piece. BTW, we use tbx because we have a mix of .NET and Python tools.
May
3
comment Is it possible to add python util scripts as shared libraries to esri geoprocessing toolbox?
Your approach will be an interesting hack to try :)
May
3
comment Is it possible to add python util scripts as shared libraries to esri geoprocessing toolbox?
If .pyt is "add all functions into a single file" then I have already expressed my slightly negative opinions about this design here: gis.stackexchange.com/questions/88575/…
May
3
comment Is it possible to add python util scripts as shared libraries to esri geoprocessing toolbox?
Your approach relies on the belief that ArcGIS will unpack tool.py from tbx in the same folder as tbx sits on. Then "import from scripts" makes sense. However when publishing tbx to ArcGIS server one need to add it into service definition file (.sd). Zip file, actually. I wonder if it's possible to hack it to extract /srcipts folder before executing tool.py from -tbx.
May
3
comment Is it possible to add python util scripts as shared libraries to esri geoprocessing toolbox?
We don't want to hide anything :)
Apr
29
comment Is it possible to catch mouse events from a hidden feature layer?
You need to add some details so others can understand what you're doing. I just suggested not to add feature layers at startup of your whatever app (seems like a web page) but add means to the user (through UI) to load it when user needs it.
Apr
29
comment What's the formula for converting SWEREF99 to WGS84
from = spatialreference.org/ref/epsg/3006 (epsg projection 3006 - sweref99 tm) to = spatialreference.org/ref/epsg/wgs-84 (obvious one)
Apr
29
comment Creating multiple fields with ranks using ArcPy?
His code tries to add (or even adds; I can't spot any issues) long integer fields RANG_RAPPORT1, RANG_RAPPORT2, ..., RANG_RAPPORT20. That's all. It can be done manually, faster. Seems that his question (using boolean and logic) is far more complex than the code.
Apr
29
revised arcpy search cursor not working
Suggested to clean syntax errors first