I have updated ResourceIdImpl to allow version to use 0l to represent null. I
assume the use for this is when you have a feature id (but not the rid) and
wish to request all features.
--
Jody Garnett
On Monday, 7 November 2011 at 5:35 PM, Jody Garnett wrote:
> On Monday, 7 November 2011 at 2:57 PM, Mark Leslie wrote:
> > So at a minimum, ResourceIdImpl needs to accept null Version / date
> > range gracefully. This was where I was getting failures last week,
> > hence the application of the default value, so I'll need to look back
> > and find out what that was breaking.
> >
> >
> >
>
> Please use:
>
> ff.featureId("CITY.98734597823459687235","A457")
>
> it makes use of:
>
> public FeatureId featureId(String fid, String featureVersion){
> return new FeatureIdVersionedImpl(fid, featureVersion);
> }
>
>
> Which explicitly represents the Version as null with no wasted space.
> > I'm also hitting some interesting concerns when both the ResourceId
> > and Query versioning bits are specified. So far I'm taking the Query
> > versioning details to narrow those on the ResourceId.
> >
> >
> >
>
> ...
>
> Your examples are nicer for end users than what I had in mind. I figured if
> someone was using ResourceId then they knew what they were asking for.
> I have updated the javadocs to match your description.
>
>
> Jody
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel