Reputation
13,945
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
5 57 126
Impact
~866k people reached

Jan
19
comment How to avoid labeling features if overlapped by another layer?
While I wasn't working with a DB layer directly, this solution made the most sense to me, as it did not require editing the geometry of the initial data sources (other than loading them into the DB). This is a great example of thinking outside the box of shapefiles and application limitations, and finding a creative solution to the problem by combining both application and DB logic.
Jan
12
comment How to avoid labeling features if overlapped by another layer?
Thanks, the plugin sounds promising, so I will give it a try.
Jan
12
comment How to avoid labeling features if overlapped by another layer?
You make a valid point that I could create a new dataset (which would be easy to do in this case... just erase out the line features under polygons), doubling up datasets doesn't sound too appealing or manageable, unless you use a database-driven method like @Richard Law mentioned.
Jan
12
comment How to avoid labeling features if overlapped by another layer?
These were shapefiles, but your idea of moving to PostGIS and managing the data issues on the fly is a really good one. I would suggest you move your comment to an Answer, since I could make a pretty valid argument that this is a good resolution.
Jan
7
comment How to avoid labeling features if overlapped by another layer?
No, you were definitely on the right track. I played around with the weights (high weight on lake polygons + "minimize placing labels over the features interior, low weight on rivers) and got closer, but never really got to the point where the river labels were not on the lake. The issue appears to be associated with lines that are both inside and outside of the polygon.
Jan
6
comment How to avoid labeling features if overlapped by another layer?
Thanks. I was looking for something like that, and had not noticed that drop-down option before. However, I would say this was only moderately successful. 1) It only "kind-of-sort-of" discouraged labels from the River layer (they still show up in within the lake, but less-so), and 2) now I don't have my Lake name labels :( I have also tried setting the River labels > Obstacles "Discourage labels from covering features" (no success) and setting weights Low & High (no success), and setting Placement > Priority = Low & High (no success).
Nov
2
comment Increase python script speed
If the user wants the question deleted, they should have that right, regardless of whether or not someone "gets points" for answering the question. Imagine if you were in this users position.
Sep
24
comment postGIS 'dynamic' SQL queries
While your question may just be conceptual code, you should read up on SQL Injection, too, and adjust your final code design. Imagine if I gave a list like: "1; DROP DATABASE [master]"
Sep
23
comment How to get all (or selected) values from a single field in a table?
Yeah, I was thinking this would be a good fit for an interactive Python Addin button or tool, too, hence why I was hoping to find a way to identify the active field.
Sep
3
comment Adding arbitrary code to ArcGIS ModelBuilder?
@mattwilkie, you don't need any input parameters because the python script will "read" the inputs from your system. However, you need to make the output (the username) a parameter so that you can consume the results into another model or python script. The next step would be passing the username parameter into something like an "email script" that would automatically use the uesrname output parameter as the input to the "To" email address.
Aug
21
comment Extending batch of lines to another object using ArcGIS Desktop?
Link updated to new location
Apr
16
comment How to remove a feature from a layer created with “Make Layer From Selected Features”?
Yep, that's another good workaround if its not possible directly.
Apr
16
comment Is it possible to perform automatic snapping of polygons in QGIS or ArcGIS?
@ChrisW, you should add your response's as an additional answer so that it stands out better.
Apr
16
comment ArcPy method to determine ArcMap document version
That's a great function, too. The only hesitation I would have against using this function is that it requires the user to download/install a third party library (oletools) which in some organizations users may not be able to do.
Mar
11
comment How to trigger a Python script from an ArcGIS Desktop “save” operation?
That's a good suggestion if there are no other options. But as @MichaelMiles-Stimson mentioned, the whole point is to provide a "pain free" experience that just happens behind the scenes.
Mar
11
comment How to trigger a Python script from an ArcGIS Desktop “save” operation?
I am looking for something to work on save of MXD.
Jan
21
comment Creating drive time polygons using Open Source tools?
Please share your experiences with HOW you did it, not just your product, or risk having your answer removed. See the site guidelines at: Avoid overt self-promotion and How to not be a spammer
Jan
5
comment POI database of tourist attractions, or POI database with popularity index
Duplicate of (unanswered) question: Touristic poi-data (api or dump) with popularity measure
Oct
16
comment Generating Heat Maps with GeoHash
Are you hoping to generate a continuous values heat map (like temperatures based on weather-station readings; example) generated from the points in your GeoHash file, or are you trying to create a choropleth map of polygons that would be associated with areas the points are in?
Oct
16
comment ArcMap Export PDF vs arcpy Export PDF scale differences
That is a very common issue. Great suggestion!