Thanks a lot for your participation to this forum. From looking at your code and visiting the IGN web site, I am asking you how does IGN serves up its maps. Are they using WMS or some other formats? If they are using WMS then you can use our WMSoverlay on the server side. If they are using another format, can you point us to some litterature on that? And we will go from there. Also, I have another question.You seem to have the code for consuming the IGN map on the client side. What is your motivation for doing this on the client side and not on the server side? Once we get some of those clarifications from you on those points, I think that we will be in a better position to help you more concretely. Thank you.
Thanks Val for your rapidity :). IGN using WMS-C. (api.ign.fr/geoportail/api/doc/fr/developpeur/wmsc.html) But Map suite don’t use this format ( from what i saw). Also, i had idea to include ign javascript library with “RegisterJavaScriptLibraryCore” but without any succees. My motivation to use this software on the client side is to embed ign maps in MapSuite asp.net AJAX edition.
Thanks Val for your rapidity :). IGN using WMS-C. (api.ign.fr/geoportail/api/doc/fr/developpeur/wmsc.html) But Map suite don’t use this format ( from what i saw). Also, i had idea to include ign javascript library with “RegisterJavaScriptLibraryCore” but without any succees. My motivation to use this software on the client side is to embed ign maps in MapSuite asp.net AJAX edition.
Thank your giving us that additional information. I think that now we are in a good position to investigate this issue. I passed this to the Web development team and they should give you their answers on Monday when you come back to work from your week end :-). Thank you.
In the left section you can see the support format of OpenLayers, there are no WMS-C format, but we are thinking about the workaround for you to see if there are any methods can work for you,
Can you give us a valid WMS-C url so that we can test and debug our researches correctly? Currently we found out a solution on that, but it is just a think, we need a valid WMS-C url to verify the solution, I just found out a WMS-C url from the IGN official website below:
Hello, I dug up an old topic. Sorry. But I would be interested in a connection to "Geoportail" (IGN - France). Do you have advanced on this feature? Thank you in advance
I finally used a WmsRasterLayer to display IGN datas in MapSuite. The URI is wxs.ign.fr/inspire/wms
Then I modified the sending request with: ((WmsRasterSource)IGNWmsRasterLayer.ImageSource).SendingRequest += new EventHandler<SendingRequestWmsRasterSourceEventArgs>(IGNWmsRasterLayer_SendingRequest); this is necessary to change the GPPKEY in the request when needed (the GPPKEY has a default duration of 10 minutes)
Thanks. If someone need to display IGN WMS in MapSuite and can’t manage to do it, I can provide sample source code to do it, it is very simple when you have understood how WMS works and how IGN’s WMS geoDRM works.
I know this post is old
I also interested to integrate Portal Ign in our application.
In the post thread, there is a link to download an example but this link is no longer active.
Do you have an example to display an IGN WMS or WMTS in MapSuite layer?
We don’t have an example for IGN.FR, but I think you can refer other sample for WMS and WMTS, the only different is the parameters, you can get them from capability of server.
And from this topic it looks maybe you need to use SendingRequest event to add some special parameter for example GPPKEY which is mentioned by Gautier.
If you met problem when implement that for special server, please let us know, we can try to help you make it works.