Hi, I'm trying to use a postgis table instead of a shp file to story my roaddata.
(postgres 9.2.2, postgis 2.0.1)
npgsql 2.0.12
I'm using this sample:
C:\Program Files (x86)\ThinkGeo\Map Suite Routing Full Edition 6.0\HowDoISamples\CSharp HowDoISamples\CSharp Desktop HowDoISamples\Samples\ExtendingRoutingSource.cs
But Im getting this exception: {"ERROR: 42883: function st_asbinary(integer) does not exist"}
when i get to this line:
Feature feature = featureSource.GetFeatureById(roadId, ReturningColumnsType.NoColumns);
here:
protected override RouteSegment GetRouteSegmentByFeatureIdCore(string roadId)
{
Feature feature = featureSource.GetFeatureById(roadId, ReturningColumnsType.NoColumns);
postgis doesn't have st_asbinary(int) postgis.refractions.net/docs/ST_AsBinary.html
Any idea how to fix this?
- Niels