7,923 reputation
52460
bio website au.linkedin.com/in/…
location Brisbane, Australia
age 38
visits member for 3 years, 1 month
seen 1 hour ago

I've been in the geospatial industry since 2002. I primarily use ArcGIS, MapInfo, and FME. But I'm interested in learning QGIS, GRASS and other open source GIS software. I'm also in the process of honing my Python skills. My current interest is in PostGIS.


Jun
24
comment Using .len() in IF THEN statement in ArcMap field calculator
You could add the desired_len as a parameter to the function. Like def zeros(value, desired_len):. That way, you can change the length as required. Then, you call it like zeros(!photoStr!, 5) or zeros(!photoStr!, 8) etc.
Jun
19
comment How to display geotagged photos in layout view to export in map book ArcGIS for Desktop?
You can have image elements in your layout. You might be able to place them into the elements. But what do you plan to do when you have many images? AT the moment, you have four images on the layout, but it looks like there are at least 8 in the map window. How would you handle it if you had 20 image points in the map? Do you want all 20 to appear in the layout? Where should they be placed?
Jun
10
comment How to sort points in a proper order using arcpy?
I've left work and am on my phone now so can't write a proper answer. Look at the linear referencing tools. There's a lot of documentation and plenty of posts on this site about it.
Jun
10
comment How to sort points in a proper order using arcpy?
If these points fall on a coastline, I suggest looking into the linear reference tools. The coastline would be your route layer and the points could be events along the route. This would solve your sorting problem. You'd calculate measures along the route.
Jun
10
comment How to sort points in a proper order using arcpy?
From the documentation: "For the Field(s) parameter, sorting by the Shape field or by multiple fields is only available with an Advanced license. Sorting by any single attribute field (excluding Shape) is available at all license levels."
Jun
9
comment How to create a feature mask with a polygon?
What license level of arcGIS do you have? If you have the Advanced level, you can change the line end type to Flat in the Buffer tool.
Jun
6
comment How to insert non-spatial features into a Polygon shapefile - FME 2015
In your shape file writer, you specify the geometry type. You might need a second writer writing to the same file but with null geometry type. Can't remember exactly what it is called.
Jun
6
comment CalculateField with variables
@apatera please post your comment as a new question
Jun
2
comment How to Remove Multiple Labels for Stacked Points? ArcGIS 10.2.2?
@dmahr, great second suggestion. Elegant.
Jun
2
comment Extracting color values from layer to build index using ArcPy/ArcMap?
Would it be feasible for you to save lyr files which store all those things? You could open all your layers into an MXD with all the symbology set. Then, iterate through them and use arcpy.SaveToLayerFile_management
May
29
comment Are there any Python scripts available for Hydrology to compute watershed Basin from csv file?
Have you had a look at Whitebox GAT?
May
27
comment Batch export all layers in ArcMap document that have selected features?
+1 SIslam, the way you've written now is better. However, you're incorrect about FeatureClassToFeatureClass. It will only export selected features if there is a selection. But if there is no selection, it will export the whole feature class. But the way you've rewritten it, it appears you realise that.
May
27
comment Batch export all layers in ArcMap document that have selected features?
I think you misunderstood the question. The OP asks for exporting only selected features. Not layers which are visible.
May
21
comment How to change sign of z value in a large dataset?
@JessH, please accept this answer.
May
15
comment Distance Measure appears to be wrong in ArcGIS Desktop?
Equal area projections are not suitable for measuring distances. Only areas.
May
12
comment Waterflows simulation in Blender Game engine
This is not necessarily GIS related. It should be on the blender SE site.
May
5
comment Setting Two Definition Queries as Parameters in Python Script tool causes: RuntimeError: LayerObject: Set attribute definitionQuery does not exist
what about base layers? Like ESRI backgrounds? Also, if the answer worked for you, please accept it.
Apr
30
comment Getting information out of an ArcGIS .lyr file
Look at the symbology tab of the properties dialog. Someone has set the descriptions based on the values.
Apr
30
comment Using QGIS in medical Science?
I'm voting to close this question as off-topic because it doesn't fit within this scope of questions allowed on this site.
Apr
30
comment How to write feature types with different geometries using Schema(From Table) to FME FileGDB using FME?
I've tried doing this before. The issue I had was that I didn't have any features to add to the geodatabase and I couldn't create blank feature classes. I ended up writing the lines of the spreadsheet to the feature classes and then deleting them manually.