Unmanaged datasource/FeatureSource

2 messages Options
Embed this post
Permalink
Suhaimi AK

Unmanaged datasource/FeatureSource

Reply Threaded More More options
Print post
Permalink
Ok, this is my another question.

I have created ne datasource/FeatureSource of unmanaged shp file as follows:

<?xml version="1.0" encoding="utf-8"?>
<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
  <Provider>OSGeo.SHP</Provider>
  <Parameter>
    <Name>DefaultFileLocation</Name>
    <Value>C:\Map\road.shp</Value>
  </Parameter>
  <Parameter>
    <Name>TemporaryFileLocation</Name>
    <Value />
  </Parameter>
</FeatureSource>

When preview the item, the road map displayed as expected.

Unfortunately, when i view through map, it did not displayed. Is there a different using Internal file (Managed) and File on server (Unmanaged). This is my first time using unmanaged featuresourse because file.dbf is too large, and i cannot upload it using managed featuresource.

Anybody can help me?

Thank you in advance.


Regards,

Suhaimi AK
Kenneth Skovhede, GEOGRAF A/S

Re: Unmanaged datasource/FeatureSource

Reply Threaded More More options
Print post
Permalink
There is no difference in managed versus unmanaged for the functionality
side of things, performance should be the same as well.

If you have used Studio to load the SHP files, it might do something to
the data, eg. convert it to SDF, build bounds, set coordsys etc.

I suspect that the FeatureSource is missing some coordinate system
information.

You may get better answers on the mapguide-users list.

Regards, Kenneth Skovhede, GEOGRAF A/S



Suhaimi AK skrev:

> Ok, this is my another question.
>
> I have created ne datasource/FeatureSource of unmanaged shp file as follows:
>
> <?xml version="1.0" encoding="utf-8"?>
> <FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
>   <Provider>OSGeo.SHP</Provider>
>   <Parameter>
>     <Name>DefaultFileLocation</Name>
>     <Value>C:\Map\road.shp</Value>
>   </Parameter>
>   <Parameter>
>     <Name>TemporaryFileLocation</Name>
>     <Value />
>   </Parameter>
> </FeatureSource>
>
> When preview the item, the road map displayed as expected.
>
> Unfortunately, when i view through map, it did not displayed. Is there a
> different using Internal file (Managed) and File on server (Unmanaged). This
> is my first time using unmanaged featuresourse because file.dbf is too
> large, and i cannot upload it using managed featuresource.
>
> Anybody can help me?
>
> Thank you in advance.
>
>
> Regards,
>
> Suhaimi AK
>  
_______________________________________________
fusion-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-users