I guess you should look for strLength instead of Length ...
Frank
2010/10/15 andrea antonello <[email protected]>
> Hi all, I have seen this pass before, but none of the cases before
> really applied to mine. So I wonder if someone can help me on this.
>
> I am simply reading a shapefile from groovy scripting language
> (jgrasstools project) and since some time ago, when I did an update, I
> started to have:
>
> Caused by: java.lang.RuntimeException: Unable to find function Length
> at
> org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:103)
> at
> org.geotools.filter.FunctionFinder.findFunction(FunctionFinder.java:69)
> at
> org.geotools.filter.FilterFactoryImpl.function(FilterFactoryImpl.java:467)
> at
> org.geotools.feature.AttributeTypeBuilder.lengthRestriction(AttributeTypeBuilder.java:624)
> at
> org.geotools.feature.AttributeTypeBuilder.buildType(AttributeTypeBuilder.java:455)
> at
> org.geotools.feature.AttributeTypeBuilder.buildDescriptor(AttributeTypeBuilder.java:516)
> at
> org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:811)
> at
> org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714)
> at
> org.geotools.data.AbstractFileDataStore.getFeatureSource(AbstractFileDataStore.java:75)
>
> I am running on 2.7-SNAPSHOT.
>
> Anyone an idea about what I might do wrong?
>
> Thanks,
> Andrea
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel