Profile Picture

Label Placement on Shapes

Posted By Kirk Kanjian 12 Years Ago
Author
Message
Kirk Kanjian
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 8, Visits: 18

Hello,

I am importing .shp files into Diagram .net and I am having problems with where the label is places. For odd shapes, the label gets placed in outside the shape. I want to move the label once and have it always in that spot. I have a different software package that lets me move the labels before I import it into Nevron, but it seems that Nevron does not use that placement.

How can I do this?

THanks,

Kirk



Attachments
Label Moved Before Nevron.jpg (155 views, 142.00 KB)
Label After Nevron Import.jpg (190 views, 219.00 KB)
Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi, Kirk. ESRI shapefiles do not contain any topological or label information. The data associated with each shape is stored as a table of records in an additional file (in dBase format - *.dbf). The software that shows ESRI shapefiles then uses this table of records to extract some textual information for each shape and create labels, fillings, strokes, etc. As only textual information is available in the DBF file, there's no way for the software to know where to place the label. That's why Nevron Diagram uses a sophisticated label placing algorithm to determine where to place shape labels.

If you have placed a label manually in your third party software package, this means that either it has stored the label placement information either in an additional file (not part of the ESRI shapefiles) or it has created a new data column in the DBF file to store label data. In the latter case you will be able to access this information when importing the shapefile in Nevron Diagram and using it you will be able to manually place the label based on this information. But you should know in advance how this data is stored and how it should be interpreted, because as I've said - by specification there's no way to store label placement data in an ESRI shapefile, so there's no standard way to read such data.



Best Regards,
Nevron Support Team



Kirk Kanjian
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 8, Visits: 18

Hello,

Thanks for your answer. Does Nevron have a graphical interface that allows the user to move labels and have them permanently located there? For example, we are using the .shp files and those files are converted real-time to Nevron when they are being displayed. The algorithm Nevron uses for that labels works most of the time. However, we are using the software for floor plans and the labels overlap quite a bit. Please see the attachement.

We would like have a software tool that allows the user to grab the label and move it to where it should be placed and have it stay in that position forever. We are currently using http://mapwingis.codeplex.com/releases to create shapes in the .shp file before using the Nevron application. Do you have something like this?

 

Thanks,

Kirk



Attachments
rendering labels.gif (181 views, 140.00 KB)


Similar Topics


Reading This Topic