Tag Info

Hot answers tagged

3

Currently there are no curved polygon labels. As dassouki suggested, you can use different approaches to create lines which can then be labeled with curved labels. It might be easiest to just draw some labeling lines manually - if the number of features in question is not too high.


2

Reading through the answer to this question may help you: http://stackoverflow.com/questions/20601997/how-to-approach-converting-vbscript-to-python-code Break down the labeling script into its parts (variables, functions, etc.) and then write that in pseudo-code. Since you are not familiar with JavaScript syntax, the Esri Help is a good place to start: ...


2

Update: The solution to that particular problem, which got revealed bit by bit, was, that the Memory Layer Saver plug-in had to be installed to make the mask layer, which hides the labels, persistent and gets saved with the project. For those who do not need to use the Mask plug-in but still want to hide particular labels or give them different appearance, ...


1

Label will be placed on the fly by ArcGIS, and you'll have very little control without Maplex. If you want full (manual) control, you need annotation. If you are happy with a fixed anchot, you could convert your annotations to point (Feature to point), but this requires ArcInfo. So the workaround depend on what you really need. If you are on the ...


1

Maplex can do some neat things, but it does have some odd quirks. I've logged a few Maplex bugs myself. If that spacing is driving you crazy, you can try to set up individual label classes or even individual layers for each of your four if statements: This should allow you more flexibility when setting up your labels for better placement.


1

GeoServer (and it's undelying library GeoTools) are written in Java so that is the language you will need to use. The labeling engine is part of the GeoTools renderer module so you'll need to study and understand how this code works. Assuming that you would like to eventually add this code to the GeoTools library then you'll need to read the Developer's ...


1

With the Placement options [x] Using perimeter [x] Below line [x] Line orientation dependent position and a Distance value of 5 mm it looks good for me, but still sometimes fails if there is not enough space on the expected side: I guess creating a negative buffer and placing the labels on that is not what you want.


1

Since Arc 10.2 doesn't like your font/encoding, QGIS may be able to help get this data into a shapefile format. It has a very similar process to what you are working with already in Arc. I have no idea if it will work better for you, or if it will have the exact same issues. See http://www.qgistutorials.com/en/docs/importing_spreadsheets_csv.html for a ...


1

Ok this is how i solved it. I added a renderer to drawingOptions var sls = new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, esri.Color([255, 255, 0]), 3); drawingOptions.renderer = SimpleRenderer(sls); After i did that i had to enable dynamic workspaces in the service capabilities via the server manager. Hope this helps someone.


1

So, I've solved this question myself. The requirement was to send the annotation data to an annotation feature class within a GDB. Whilst I am yet to be able to create GDB and FCs with ArcObjects, I created these manually and then created the pointer variables that accepted the annotation data. Consequently, ArcMap did not fall over and produced the desired ...


1

Since you say you have some experience in Python, I believe what you are trying to do could be accomplished with a Python Add-In (I'm not well versed in ArcObjects and C#). I have a jankety workaround function that I call in other scripts that will generate annotation feature classes (always for a soils data set) based on a project boundary. The way this ...


1

Works for me: valLabel=QgsPalLayerSettings() valLabel.readFromLayer(iface.activeLayer()) valLabel.fontSizeInMapUnits=True // change to map units valLabel.textFont.setPointSize(100000) // set font size valLabel.writeToLayer(iface.activeLayer()) iface.mapCanvas().refresh() For the data-defined way check QgsPalLayerSettings::DataDefinedProperties ...


1

Thanks for your answer! The solution I found more appropriate and clean is using Canvas indeed I paste the key part of the code. - Icon variable is the key for Google Map - The call back is a function that takes the variable Marker (since the construction of Canvases can be asynchronous.) var canvas = document.createElement("canvas"); ...



Only top voted, non community-wiki answers of a minimum length are eligible