The Esri Community
Services & Programs
GeoNet Resource Hub
Native App Developers
ArcGIS Runtime SDK for WPF
to create and rate content, and to follow, bookmark, and share content with other members.
LabelPoints on a roads layer return empty set
Discussion created by
on Jan 18, 2013
on Jan 21, 2013 by dbroux-esristaff
Show 0 Likes
I'm trying to call GeometryService.LabelPoints on a layer that contains roads, but I'm getting an empty results set. It's not failing, but completing successfully. Can LabelPoints not be used on roads?
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Jan 21, 2013 3:17 AM
GeometryService.LabelPoints is only working with geometries of type Polygon and, doesn't work with polylines.
I guess you could close your polylines in order to get polygons with null area but I am not sure the LabelPoints service would work well in this case (sorry never tested).
You could also calculate a position along the roads at client side (
sample of linear calculation
Show 0 Likes
Retrieving data ...
ArcGIS Pro VRP Setting Route Zones
Subnetwork Controller Import Error
Dictionary to index the last four text numbers of a featureclass field
View previous year's data and add new data
Publish Service with Feature Access using Join or View