ArcGISConnector-QGIS-Plugin icon indicating copy to clipboard operation
ArcGISConnector-QGIS-Plugin copied to clipboard

[QGIS 2.18.3] - arcgis feature layer (Mapserver) labeling

Open janyv27 opened this issue 8 years ago • 5 comments

Hi,

I loaded into QGIS 2.18.3 an arcgis feature layer from a esri MapServer (e.g. : http://mydns/arcgis/rest/services/DIR/MyService/MapServer).

The features are correctly displayed with the right symbology. I can also select a feature from that layer and the fields and values are correctly displayed.

However, it's currently not possible to activate the functionality for labeling the layer because the button is disabled.

Do you know if I did something wrong or if there are additional things to make ?

Thank you for your help

janyv27 avatar Feb 07 '17 11:02 janyv27

                                                                                  Janyv27 - I believe the labeling is controlled on the ArcGIS Server side. Bernie.                                                                                                                                                                                                                                                                                                                                         Sent from my BlackBerry 10 smartphone on the Bell network.                                                                                                                                                                                                                From: janyv27Sent: Tuesday, February 7, 2017 7:01 AMTo: geometalab/ArcGISConnector-QGIS-PluginReply To: geometalab/ArcGISConnector-QGIS-PluginCc: SubscribedSubject: [geometalab/ArcGISConnector-QGIS-Plugin] [QGIS 2.18.3] - arcgis feature layer (Mapserver) labeling (#19)Hi,

I loaded into QGIS 2.18.3 an arcgis feature layer from a esri MapServer (e.g. : http://mydns/arcgis/rest/services/DIR/MyService/MapServer). The features are correctly displayed with the right symbology. I can also select a feature from that layer and the fields and values are correctly displayed. However, it's currently not possible to activate the functionality for labeling the layer because the button is disabled. Do you know if I did something wrong or if there are additional things to make ? Thank you for your help

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geometalab/ArcGISConnector-QGIS-Plugin","title":"geometalab/ArcGISConnector-QGIS-Plugin","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geometalab/ArcGISConnector-QGIS-Plugin"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"[QGIS 2.18.3] - arcgis feature layer (Mapserver) labeling (#19)"}],"action":{"name":"View Issue","url":"https://github.com/geometalab/ArcGISConnector-QGIS-Plugin/issues/19"}}}

berniejconnors avatar Feb 07 '17 11:02 berniejconnors

Hi Bernie,

Thank you for your helpful answer : QGIS actually asks for an image of the layer to ArcGIS Server (operation export).

Do you know how to add a real esri feature layer in order to get the objects into QGIS ?

janyv27 avatar Feb 07 '17 11:02 janyv27

                                                                                  The last time I looked at the docs for this QGIS Plug-in it did not support a feature service, it only supports plain old map service. In ArcGIS Server there is an option to "allow per request modifications"‎ for a map service. If this was enabled it may make a difference if it is supported by the QGIS plug-in. Here is a map service that I manage that does allow per request modification:http://geonb.snb.ca/arcgis/rest/services/GeoNB_SNB_LidarIndex/MapServer/0You can run a test against this service to see if it makes a difference. This map service is the index to our open lidar data. It includes about 30,000 1 km x 1 km squares. The projection is not web mercator, it is EPSG 2953. Bernie.                                                                                                                                                                                                                                                                                                                                         Sent from my BlackBerry 10 smartphone on the Bell network.                                                                                                                                                                                                                From: janyv27Sent: Tuesday, February 7, 2017 7:43 AMTo: geometalab/ArcGISConnector-QGIS-PluginReply To: geometalab/ArcGISConnector-QGIS-PluginCc: berniejconnors; CommentSubject: Re: [geometalab/ArcGISConnector-QGIS-Plugin] [QGIS 2.18.3] - arcgis feature layer (Mapserver) labeling (#19)Hi Bernie,

Thank you for your helpfulanswer : QGIS actually asks for an image of the layer to ArcGIS Server (operation export). Do you know how to add a real esri feature layer in order to get the objects into QGIS ?

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geometalab/ArcGISConnector-QGIS-Plugin","title":"geometalab/ArcGISConnector-QGIS-Plugin","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geometalab/ArcGISConnector-QGIS-Plugin"}},"updates":{"snippets":[{"icon":"PERSON","message":"@janyv27 in #19: Hi Bernie,\r\n\r\nThank you for your helpfulanswer : QGIS actually asks for an image of the layer to ArcGIS Server (operation export).\r\n\r\nDo you know how to add a real esri feature layer in order to get the objects into QGIS ?\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geometalab/ArcGISConnector-QGIS-Plugin/issues/19#issuecomment-277975196"}}}

berniejconnors avatar Feb 07 '17 16:02 berniejconnors

Hi Bernie,

Thanks again for your help !

Your GeoNB_SNB_LidarIndex service and mine have the same capacity "dynamic layer" allowed for the client to update symbology, layer order, labeling and others ...

How did you load your service GeoNB_SNB_LidarIndex into QGIS ?

janyv27 avatar Feb 08 '17 09:02 janyv27

                                                                                  I never did                                                                                                                                                                                                                                                                                                                                        Sent from my BlackBerry 10 smartphone on the Bell network.                                                                                                                                                                                                                From: janyv27Sent: Wednesday, February 8, 2017 5:46 AMTo: geometalab/ArcGISConnector-QGIS-PluginReply To: geometalab/ArcGISConnector-QGIS-PluginCc: berniejconnors; CommentSubject: Re: [geometalab/ArcGISConnector-QGIS-Plugin] [QGIS 2.18.3] - arcgis feature layer (Mapserver) labeling (#19)Hi Bernie,

Thanks again for your help ! Your GeoNB_SNB_LidarIndex service and mine have the same capacity "dynamic layer" allowed for the client to update symbology, layer order, labeling and others ... How did you load your service GeoNB_SNB_LidarIndex into QGIS ?

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geometalab/ArcGISConnector-QGIS-Plugin","title":"geometalab/ArcGISConnector-QGIS-Plugin","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geometalab/ArcGISConnector-QGIS-Plugin"}},"updates":{"snippets":[{"icon":"PERSON","message":"@janyv27 in #19: Hi Bernie,\r\n\r\nThanks again for your help !\r\n\r\nYour GeoNB_SNB_LidarIndex service and mine have the same capacity "dynamic layer" allowed for the client to update symbology, layer order, labeling and others ...\r\n\r\nHow did you load your service GeoNB_SNB_LidarIndex into QGIS ?\r\n\r\n\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geometalab/ArcGISConnector-QGIS-Plugin/issues/19#issuecomment-278280305"}}}

berniejconnors avatar Feb 08 '17 10:02 berniejconnors