887 reputation
212
bio website
location Warsaw, Poland
age
visits member for 1 year, 2 months
seen yesterday
stats profile views 36

Mar
1
comment What projection is this and how to use it in a GIS?
I've managed to find and contact the author. It appeared that it's his own devise. So it rather will not be possible to reproduce it with standard tools.
Mar
1
comment ArcGIS key numbering labels for every feature in one layer
Thanks for answer. There's no possibility to remove strategies from Strategy Order. So it left me to create numbering as attribute and manually add table with numbers and description.
Sep
20
comment How to prevent running part of a model when iterator is used?
Thanks for useful hint Blah. I've even tried nesting models, but nested wrong part.
Jul
16
comment How to calculate XY coordinates in Decimal Degrees from projected dataset in model or script?
@mburkenysdot: This is a good workaround when someone doesn't want to use any scripting.
Jul
16
comment How to calculate XY coordinates in Decimal Degrees from projected dataset in model or script?
@iRfAn: I thought that there's some more straightforward solution, but your's works perfectly. Thanks:)
Jul
13
comment How to calculate XY coordinates in Decimal Degrees from projected dataset in model or script?
@Roy: yes, I want to preserve a feature class in projected CS, but calculated decimal degrees.
Jul
9
comment How to fill Field Mappings parameter in script tool on updateParameters?
Thanks, this works:)
Jul
9
comment How to fill Field Mappings parameter in script tool on updateParameters?
I know it. But I want to be able to select more than one field.
Jun
22
comment How to update geometry in ArcObjects?
@vinayan, @whuber - but which IAffineTransformation2D method should I use? I haven't found one with such set of parameters.
Jun
22
comment How to update geometry in ArcObjects?
Thanks again. Now it works for simple polygons (multipart and with void polygons are not recreated correctly) and is good starting point for futher development.
Jun
21
comment How to update geometry in ArcObjects?
I've posted adapted code as Edit - it compiles but does nothing.
Jun
21
comment How to update geometry in ArcObjects?
Thanks for this code. Unfortunately I'm stuck in foreach loop. I get error: foreach statement cannot operate on variables of type 'ESRI.ArcGIS.Geometry.IPointCollection'. Do you know how to fix it?
Apr
18
comment Can a new point automatically be populated with data from the containing polygon
@Hairy: I understood that there're 2 polygon layers, each with more than 2 polygons - for 2 polygon features ther's no sense to use any tool beyond Idetify:) But I agree that for simpler geometries your code is more clear.
Apr
18
comment Can a new point automatically be populated with data from the containing polygon
@Hairy: I think your criticism is unmerited. I've made some tests: 17 random points, 170k polygons in FGDB. Your code ~13min, my ~0.5min. I suppose that avoid looping through polygon layer several times makes the difference.
Apr
18
comment Can a new point automatically be populated with data from the containing polygon
The solution is basen on exercise from PennState: e-education.psu.edu/geog485/node/159. Moreover, On the first place I proposed two ArcGIS tools which do not require any scripting!
Apr
17
comment Can a new point automatically be populated with data from the containing polygon
@Hairy: Your script updates a polygon layer not points. The geom variable wont be created as you don't have access to X,Y directly. Use geom = row.Shape.getPart() instead. Moreover, the script may not be effective while many polygon as it loops through all polygons for each point.
Apr
15
comment How to Clip a Vector File based on certain Raster Values?
My first thought was also CON tool. But in my created Slope rasters this tool didn't recognise VALUE field. That's why I recommended Reclassify tool. BTW the real problem here is not HOW, but operations on huge vector layers.
Apr
12
comment How to Clip a Vector File based on certain Raster Values?
Have you seen gis.stackexchange.com/questions/16110/… for some hints on handling big rasters and vectors?
Apr
12
comment How to Clip a Vector File based on certain Raster Values?
What do you mean '"Clip" crashes'? Does it throw any errors or ArcMap is in No response state?
Apr
12
comment How to Clip a Vector File based on certain Raster Values?
When converting raster to polygon, select option 'Simplify polygons' - this reduce the number of polygon vertices. Moreover, try to do your analyse in File Geodatabase.