That's actually what I had been doing previously by creating an
attribute Expression off a field in the DBF and using a bunch of
filter.or(exp) to point at the attribute.  However I thought it might
make more sense to use the FIDs since they are unique and it de-clutters
the DBF a bit.

One last question: In the case of a shape file "service" is the FID
always the form "fileNameNoExt.ID"?

Aaron Parks

-----Original Message-----
From: Jody Garnett [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 09, 2008 6:10 PM
To: Parks, Aaron B.
Cc: [email protected]
Subject: Re: [Geotools-gt2-users] FIDs and file name changes

There is good alternative to StyledMapPane now on geotools trunk :-) I 
am afraid the FIDs more represent a selection on a single service (in 
this case a file) rather than something abstract. If you had an ID 
attribute in your file you could use that for a stable filter regardless

of data source.

Thanks for the interesting question,
Jody
> I am using GT 2.4 to do some geo-spatial processing, the end result of
> which I end up with some FIDS like file.1, file.2 and so on with some
> values to go with them.  These go into an H2 DB for later use.
>
> I also have a GT 2.0 (I know I shouldn't, but I just love the styled
map
> pane) app that then uses those FIDs to do some coloration of some
maps.
> In the process of writing the app it had the initial layer (file)
copied
> twice and renamed to file_first and file_second. This seems to break
the
> FID filters because now the FIDS look something like file_first.1,
> file_first.2, etc.
>
> Is there anyway I can get the FID filter to just look at the numbers
and
> ignore the rest of the FID?
>
> Aaron Parks
>
>
>
------------------------------------------------------------------------
-
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
>
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp
lace
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>   


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to