[mapguide-users] Creation of a FeatureSource

Jérôme DUCKERS jerome.duckers at gmail.com
Mon Sep 10 12:57:24 PDT 2012


I'v founded my mistake, it was an error on the name.

Thanks for your help Gordon.

Best Regards
Jérôme.



2012/9/10 jerome.duckers <jerome.duckers at gmail.com>

>  Hi Gordon,
>
> Thanks
>
> You have right. If i change to Library => the data is correctly created in
> Maestro, and everything is good.
> The Layer is drawing.
>
>
> I see that in my layerTemplate, it was :
>        <ResourceId>Library://{0}.FeatureSource</ResourceId>
>
> I think that's the reason why i did'nt see the draw in my map.
> So, i try to replace the
>                <ResourceId>Library://{0}.FeatureSource</ResourceId>
>          by
>               <ResourceId>Session:{0}//{1}.FeatureSource</ResourceId>
> // where {0} is the sessionId
>
> {1} the name
>
> but nothing on screen :(
>
> I am always searching.
>
>
>
> 2012/9/10 GordonL [via OSGeo.org] <[hidden email]<http://user/SendEmail.jtp?type=node&node=5000927&i=0>
> >
>
> I  tend to create permanent Library connections and layers when debugging,
>> so i can debug them in Maestro.
>>
>> change your lines where you have 'Session' to Library
>>
>>  string resourceId = string.Format("Session:{0}//{ 1}" ,sessionId, name);
>>
>>  string resourceId = string.Format("Library://{0}", name);
>>
>> for example.
>>
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://osgeo-org.1560.n6.nabble.com/Creation-of-a-FeatureSource-tp5000822p5000824.html
>> To unsubscribe from Creation of a FeatureSource, click here.
>> NAML<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: Creation of a FeatureSource<http://osgeo-org.1560.n6.nabble.com/Creation-of-a-FeatureSource-tp5000822p5000927.html>
> Sent from the MapGuide Users mailing list archive<http://osgeo-org.1560.n6.nabble.com/MapGuide-Users-f4182607.html>at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20120910/3087332d/attachment.html>


More information about the mapguide-users mailing list