Label Placement on Shapes


Author
Message
Kirk Kanjian
Kirk Kanjian
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
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 (175 views, 142.00 KB)
Label After Nevron Import.jpg (207 views, 219.00 KB)
Reply
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search