Hi everybody,
I'm developing a thesis on WebGIS and I'm building some Web Map Applications
to show the results.
I'm manipulating all the data in QGIS Desktop and I have experience with
ArcGIS Viewer for Flex and I'm developing everything in localhost, through
GeoServer. The GeoServer is up and running, but I don't know how to add it
to ArcGIS Viewer for Flex (3.6), something that is aggravated by the fact
that I don’t know too much about .xml. I searched a lot and some people say
it’s easier to add it in the config.xml, but I’m looking for more recent and
simpler answers.
So, first, I want to know if it is possible to add the GeoServer service,
for instance WMS, directly in ArcGIS Viewer for Flex interface. Secondly,
where can I find the GeoServer link to a specific service, for example like
adding ArcGIS Server operational layer in ArcGIS Viewer for Flex:
http://server/arcgis/rest/services… ? I tried to connect through
http://localhost:8080/geoserver/web http://localhost:8080/geoserver or even
with the Service Capabilities from GeoServer. I tried
http://localhost:8080/geoserver/rest but with no results. The best I got was
ArcGIS Viewer for Flex asking me the GeoServer login credentials…
Finally, if what I’m asking is not possible, then, I would like to know how
to add a service from GeoServer in ArcGIS Viewer for Flex.
Thank you in advance,
Ricardo Silva
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-and-ArcGIS-Viewer-for-Flex-tp5153817.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Ricardo,
You have to look a little bit on what is a wms endpoint in Geoserver (just
google this). Then you can have a look at this:
http://docs.geoserver.org/stable/en/user/services/virtual-services.html and
this: http://docs.geoserver.org/stable/en/user/services/wms/reference.html
After you figured the right endpoint (which is in the most simple case is
just http://localhost:8080/geoserver/wms?), then you can take a look at how
you can add it to ArcGIS Viewer for Flex as an operational layer, in
config.xml. (To the best of my knowledge it's not supported in the ArcGIS
Viewer for Flex GUI...).
And if you're not familiar with xml, the best way is to get notepad++ for
starters, that makes life easier for you.
Good luck and reading,
Ben
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-and-ArcGIS-Viewer-for-Flex-tp5153817p5153884.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Thank you for the answer.
I'm a bit familiarized with .xml and NotePad ++ to manipulate everything on
ArcGIS Viewer for Flex, but not to construct as new. For example, if I want
to had a WMS GeoServer service in a config.xml I have to put it between
operational layers, right? Can you tell me which is the right line to the
GeoServer’s WMS service?
<?xml version="1.0" ?>
<configuration>
<title>test</title>
<geometryservice
url="https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer"/>
<subtitle>test</subtitle>
<widget url="widgets/Navigation/NavigationWidget.swf"
config="widgets/Navigation/NavigationWidget.xml" left="10" top="50"/>
<widget url="widgets/OverviewMap/OverviewMapWidget.swf"
config="widgets/OverviewMap/OverviewMapWidget.xml" right="0" bottom="0"/>
<widget url="widgets/MapSwitcher/MapSwitcherWidget.swf"
config="widgets/MapSwitcher/MapSwitcherWidget.xml" right="20" top="55"/>
<widget url="widgets/HeaderController/HeaderControllerWidget.swf"
config="widgets/HeaderController/HeaderControllerWidget.xml" left="0"
top="0"/>
<map attributionvisible="false" esrilogovisible="true"
openhandcursorvisible="false" scalebarvisible="true" scalebar="metric"
zoomslidervisible="false" wraparound180="true" addarcgisbasemaps="true"
initialextent="-1035805.9478334663 4676110.420016138 -1003740.6144678782
4693996.684634844" wkid="102100" top="40"
portalurl="https://www.arcgis.com/">
<basemaps>
<layer type="tiled" label="Imagem"
icon="https://www.arcgis.com/sharing/rest/content/items/c2d3fc33774b442890c2a922d23c5bcb/info/thumbnail/tempimagery.jpg"
url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"
visible="true"/>
</basemaps>
<oprationallayers>
</operationallayers>
</map>
<widgetcontainer layout="float">
<widget url="widgets/Draw/DrawWidget.swf"
config="widgets/Draw/DrawWidget.xml" label="Desenhar"
icon="assets/images/i_draw2.png"/>
<widget url="widgets/Print/PrintWidget.swf"
config="widgets/Print/PrintWidget_1.xml" label="Imprimir"
icon="assets/images/i_print.png"/>
<widget url="widgets/Chart/ChartWidget.swf"
config="widgets/Chart/ChartWidget_1.xml" label="Gráfico"
icon="assets/images/i_piechart.png" preload="open"/>
</widgetcontainer>
</configuration>
And it looks like the problem is not only adding the service, is how to
include it on the widgets too. And that requires a lot of time and training
that I don’t have until the end of my thesis.
As the goal is mainly to show the results and not to allow clients to
manipulate it, I will use TileMill and MapBox. If I want to show something
more complex I will use an ArcGIS Server that I have access to or ArcGIS
Online Organizational trial and, that way, it is easier to create
applications in ArcGIS Viewer for Flex, as it is more oriented to ArcGIS
products.
Anyway, do you know some software that I can use, similar to ArcGIS Viewer
for Flex?
Thank you,
Ricardo Silva
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-and-ArcGIS-Viewer-for-Flex-tp5153817p5153985.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi Ricardo,
This question is probably best directed at whatever ESRI support method you’re using as the issue seems to be one of configuring ArcGIS Viewer.
Hopefully they’ll be able to tell you what format of URL the viewer requires. It will likely be some variation of:
http://example.com/gs/wms?service=wms&version=1.1.1&request=GetCapabilities
http://example.com/gs/wms
etc.
That’s what: https://geonet.esri.com/thread/43732 suggests anyway.
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
···
On 29 July 2014 15:43, RicardoMS <ricardo_7205@anonymised.com> wrote:
Thank you for the answer.
I’m a bit familiarized with .xml and NotePad ++ to manipulate everything on
ArcGIS Viewer for Flex, but not to construct as new. For example, if I want
to had a WMS GeoServer service in a config.xml I have to put it between
operational layers, right? Can you tell me which is the right line to the
GeoServer’s WMS service?
<?xml version="1.0" ?>
test
test
And it looks like the problem is not only adding the service, is how to
include it on the widgets too. And that requires a lot of time and training
that I don’t have until the end of my thesis.
As the goal is mainly to show the results and not to allow clients to
manipulate it, I will use TileMill and MapBox. If I want to show something
more complex I will use an ArcGIS Server that I have access to or ArcGIS
Online Organizational trial and, that way, it is easier to create
applications in ArcGIS Viewer for Flex, as it is more oriented to ArcGIS
products.
Anyway, do you know some software that I can use, similar to ArcGIS Viewer
for Flex?
Thank you,
Ricardo Silva
–
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-and-ArcGIS-Viewer-for-Flex-tp5153817p5153985.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Hello Jonathan,
Thank you for the answer and recommendation. I had already tried what is on
that thread and even tried more and posted on the ESRI Geonet. Anyway, I
don't have much time and I'm new to GeoServer and .xml. I've been working
offline. I will only try one more thing that is work with internet access.
Anyway, the goal is mainly to show the results and not to manipulate them.
So, I found two workarounds: publish MBTiles with TileMill and produce a
service in Portable Base Map Server or use the
http://localhost:8080/geoserver/wms? to produce a OGCWMSService in Portable
Base Map Server. This way I can consume both in the ArcGIS Viewer for Flex
interface. Obviously I continue with no attribute table access, spatial
relations or chart widget, as they are Tiles and WMS, but it’s ok to
visualize data with a more friendly output to client. Would be great if
Portable Base Map Server could produce WFS…
Thank you,
Ricardo Silva
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-and-ArcGIS-Viewer-for-Flex-tp5153817p5154138.html
Sent from the GeoServer - User mailing list archive at Nabble.com.