Hi Ian,

Support for geospatial ploygons, linestrings, boxes etc is available in the the 
open source develop/7 branch, which is soon to become the stable/7 release ... 
in the next few days probably ...

Although note your format of your coordinates even for "point" is incorrect as 
the coordinates of a point should be delimited with a space and multiple 
coordinates with comma ie

<http://dex.dev.intra/id/location/FIPS/27145>  
<http://www.w3.org/2003/01/geo/wgs84_pos#geometry>  "POLYGON((-95.131717 
45.412415, -94.765356 45.4128, -94.763067 45.326113, -94.386553 45.3267, 
-94.383436 45.28281, -94.260949 45.28394, -94.089517 45.346629, -94.047346 
45.422857, -94.141402 45.493103, -94.149481 45.559059, -94.203641 45.619905, 
-94.215724 45.726554, -94.27178 45.775196, -95.139718 45.773403, -95.131717 
45.412415))"^^<http://www.openlinksw.com/schemas/virtrdf#Geometry> .

which then loads as:

SQL> ttlp ('<http://dex.dev.intra/id/location/FIPS/27145>  
<http://www.w3.org/2003/01/geo/wgs84_pos#geometry>  "POLYGON((-95.131717 
45.412415, -94.765356 45.4128, -94.763067 45.326113, -94.386553 45.3267, 
-94.383436 45.28281, -94.260949 45.28394, -94.089517 45.346629, -94.047346 
45.422857, -94.141402 45.493103, -94.149481 45.559059, -94.203641 45.619905, 
-94.215724 45.726554, -94.27178 45.775196, -95.139718 45.773403, -95.131717 
45.412415))"^^<http://www.openlinksw.com/schemas/virtrdf#Geometry> .', '', 
'http://geo', 0);

Done. -- 3 msec.
SQL> 

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

On 29 Nov 2013, at 14:36, Ian Harrison <i...@big-data-analytics.com> wrote:

> I'm having problems loading ntriples like this
> 
> <http://dex.dev.intra/id/location/FIPS/27145> 
> <http://www.w3.org/2003/01/geo/wgs84_pos#geometry> 
> "POLYGON((-95.131717,45.412415 -94.765356,45.4128 -94.763067,45.326113 
> -94.386553,45.3267 -94.383436,45.28281 -94.260949,45.28394 
> -94.089517,45.346629 -94.047346,45.422857 -94.141402,45.493103 
> -94.149481,45.559059 -94.203641,45.619905 -94.215724,45.726554 
> -94.27178,45.775196 -95.139718,45.773403 
> -95.131717,45.412415))"^^<http://www.openlinksw.com/schemas/virtrdf#Geometry> 
> .
> 
> or
> 
> <http://dex.dev.intra/id/location/FIPS/27145> 
> <http://www.w3.org/2003/01/geo/wgs84_pos#geometry> 
> "LINESTRING(-95.131717,45.412415 -94.765356,45.4128 -94.763067,45.326113 
> -94.386553,45.3267 -94.383436,45.28281 -94.260949,45.28394 
> -94.089517,45.346629 -94.047346,45.422857 -94.141402,45.493103 
> -94.149481,45.559059 -94.203641,45.619905 -94.215724,45.726554 
> -94.27178,45.775196 -95.139718,45.773403 
> -95.131717,45.412415)"^^<http://www.openlinksw.com/schemas/virtrdf#Geometry> 
> .
> 
> Point though does work
> 
> <http://dex.dev.intra/id/location/FIPS/27145> 
> <http://www.w3.org/2003/01/geo/wgs84_pos#geometry> 
> "POINT(-95.131717,45.412415)"^^<http://www.openlinksw.com/schemas/virtrdf#Geometry>
>  
> .
> 
> Is this a known error?
> 
> Thanks
> 
> Ian
> 
> -- 
> Ian Harrison                Email: i...@big-data-analytics.com
> Tel: +44 (0)7580 618125
> 
> 
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK 
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to