You may be able to get it from the info object.

On Thu, Apr 7, 2022 at 4:11 AM Ian Turton <ijtur...@gmail.com> wrote:

> I don't think you can - the ShapeFileDatastore doesn't keep that info in a
> public variable as far as I can see
>
> Ian
>
>
> On Thu, 7 Apr 2022 at 11:41, <paul.m...@lfv.se> wrote:
>
>> Hi,
>>
>> I have a FeatureSource that is a Shape file, How can I read out the URL
>> from that FeatureSource to that shape file?
>>
>> Kind regards,
>>
>> Paul
>>
>>
>> _______________________________________________
>> GeoTools-GT2-Users mailing list
>> GeoTools-GT2-Users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>
>
>
> --
> Ian Turton
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
-- 
--
Jody Garnett
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to