Srikanth,
I’m afraid I don’t quite follow. If you have the id from the GetFeatureInfo
response (the docs include an example with JSON response), you should be able
to extract this id and use it to call the other web service. Or am I missing
something?
Regards,
/julian
Fra: Srikanth Kanaparthy [mailto:[email protected]]
Sendt: 10. januar 2017 14:23
Til: Julian Hollingbery <[email protected]>
Cc: geoserver-users <[email protected]>
Emne: RE: [Geoserver-users] WMS and Other Web Service Integration
We have a foreign key which shall be the id itself. But when clicked on map
which is served by WMS, geoserver with getfeatureinfo provides the attribute
data stored in same table. How do I call other web service, essentially I need
to know only Id here.
________________________________
From: Julian Hollingbery<mailto:[email protected]>
Sent: 10-01-2017 05:59 PM
To: Srikanth<mailto:[email protected]>
Cc: geoserver-users<mailto:[email protected]>
Subject: SV: [Geoserver-users] WMS and Other Web Service Integration
Aha..
I believe that, in any case, you’ll need to store the id (foreign key, possibly
compound) of the parcel in both databases/servers.
Which columns/attributes besides geometry do you have in the geometry database?
Fra: Srikanth [mailto:[email protected]]
Sendt: 10. januar 2017 13:09
Til: Julian Hollingbery <[email protected]<mailto:[email protected]>>
Cc: geoserver-users
<[email protected]<mailto:[email protected]>>
Emne: Re: [Geoserver-users] WMS and Other Web Service Integration
Hello Julian,
I understand GetFeatureInfo provides the attribute values for the same database
where the geometry is residing.
In my case, geometry resides in one database and related meta-data resides in a
different server which has to accessed by customer web service. Hence whenever
the user clicks on a particular parcel, I need to call customer provided web
service to get details of the parcel.
On Tue, Jan 10, 2017 at 5:30 PM, Julian Hollingbery
<[email protected]<mailto:[email protected]>> wrote:
Have you tried GetFeatureInfo?
http://docs.geoserver.org/stable/en/user/services/wms/reference.html
Regards,
/julian
Fra: Srikanth [mailto:[email protected]<mailto:[email protected]>]
Sendt: 10. januar 2017 11:39
Til: geoserver-users
<[email protected]<mailto:[email protected]>>
Emne: [Geoserver-users] WMS and Other Web Service Integration
Hello,
We have a million parcels stored in MySQL and are fetching using WMS. The
meta-data related to these parcels is stored in other database in some other
location, hence we cannot and and are not supposed to access this meta-data
directly. For this purpose, we have been provided a web service which consumes
'id' and returns a json object.
We are finding it difficult to get the 'id' of the parcel with wms in order to
pass it to webservice. Any advise/direction in this regard is highly
appreciated.
--
Regards,
Srikanth K.
--
Regards,
Srikanth K.
www.servetheneedy.org<http://www.servetheneedy.org>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users