ImranR | 30 Jul 11:23 2014

★ Openlayers Users, ImranR left a message for you

ImranR left a message for you
 
 
You can instantly reply using our message exchange system.


Have fun!
The Badoo Team
_______________________________________________
Users mailing list
Users@...
http://lists.osgeo.org/mailman/listinfo/openlayers-users
ImranR | 30 Jul 11:22 2014

★ <users <at> openlayers.org>, ImranR left a message for you

ImranR left a message for you
 
 
You can instantly reply using our message exchange system.


Have fun!
The Badoo Team
_______________________________________________
Users mailing list
Users@...
http://lists.osgeo.org/mailman/listinfo/openlayers-users
VictoriaH | 29 Jul 21:14 2014
Picon

How to use best use python script with Open Layers?

I know only part of this question is relevant to Open Layers. I am using Open
Layers with some layers served by Geoserver. I have a python script that
takes user input from the web page, and returns a GeoJSON file. What is the
best way to use a python script to accomplish this? Is there a preferred
method for where I put the python script, and call it in a Geoserver/Open
Layers framework? I am a little unclear as to where to put the script in my
file structure so that it can be called from the web client. Any suggestions
would be appreciated...

Thanks, VickH

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-use-best-use-python-script-with-Open-Layers-tp5154011.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
PARDHU D | 29 Jul 12:37 2014
Picon

WMS GetFeatureinfo popup problem with proxy.jsp

I am using proxy.jsp file to get WMS GetFeatureInfo popup, I have dropped proxy.jsp file in /usr/lib/cgi-bin and added allowedHosts. I changed     OpenLayers.ProxyHost = "/cgi-bin/proxy.jsp?url=";  if I clicked on any feature it is displaying like

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster <at> localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.22 (Ubuntu) Server at 192.168.1.1 Port 80


 on the popup. Can anyone please tell me what is the error?

Regards,
D Pardhu.
_______________________________________________
Users mailing list
Users@...
http://lists.osgeo.org/mailman/listinfo/openlayers-users
PARDHU D | 29 Jul 08:41 2014
Picon

Proxy.cgi file

Here I am sending my proxy.cgi file. Can any one please test and tell me the problem.

Regards,
D Pardhu.
Attachment (proxy.cgi): application/octet-stream, 3758 bytes
_______________________________________________
Users mailing list
Users@...
http://lists.osgeo.org/mailman/listinfo/openlayers-users
pablo zader | 28 Jul 16:27 2014
Picon

POST not implemented

Hi list,
I'm developing a client wps modifying the example WPSDemo.js from 
I'm using zoo-proyect as wps server.
I'm trying to invoke the buffer process implemented in GRASS GIS gives me the following error:


The query POST is:

<wps:Execute xmlns:wps="http://www.opengis.net/wps/1.0.0" version="1.0.0" service="WPS" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">v_buffer</ows:Identifier><wps:DataInputs><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">input</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Or data source for direct OGR access</ows:Title><wps:Data><wps:ComplexData mimeType="text/xml"><![CDATA[<wfs:FeatureCollection xmlns:wfs="http://www.opengis.net/wfs"><gml:featureMember xmlns:gml="http://www.opengis.net/gml"><feature:features xmlns:feature="http://mapserver.gis.umn.edu/mapserver" fid="OpenLayers_Feature_Vector_248"><feature:geometry><gml:Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates decimal="." cs="," ts=" ">-6383273.5489707,1396657.4552779 -4230806.8327598,26905.908598173 -6246298.3943028,-442723.19312058 -6383273.5489707,1396657.4552779</gml:coordinates></gml:LinearRing></gml:outerBoundaryIs></gml:Polygon></feature:geometry></feature:features></gml:featureMember></wfs:FeatureCollection>]]></wps:ComplexData></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">layer</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">A single vector map can be connected to multiple database tables. This number determines which table to use. When used with direct OGR access this is the layer name.</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">cats</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Example: 1,3,7-9,13</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">where</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Example: income 1000 and inhab :: 10000</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">type</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Feature type</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">distance</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Buffer distance along major axis in map units</ows:Title><wps:Data><wps:LiteralData>195678.7923828125</wps:LiteralData></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">minordistance</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Buffer distance along minor axis in map units</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">angle</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Angle of major axis in degrees</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">bufcolumn</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Name of column to use for buffer distances</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">scale</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Scaling factor for attribute column values</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">tolerance</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Maximum distance between theoretical arc and polygon segments as multiple of buffer</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">-s</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Make outside corners straight</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">-c</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Dont make caps at the ends of polylines</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input><wps:Input><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">-t</ows:Identifier><ows:Title xmlns:ows="http://www.opengis.net/ows/1.1">Transfer categories and attributes</ows:Title><wps:Data><wps:LiteralData/></wps:Data></wps:Input></wps:DataInputs><wps:ResponseForm><wps:RawDataOutput mimeType="text/xml"><ows:Identifier xmlns:ows="http://www.opengis.net/ows/1.1">output</ows:Identifier></wps:RawDataOutput></wps:ResponseForm></wps:Execute>

Thanks in advanced


_______________________________________________
Users mailing list
Users@...
http://lists.osgeo.org/mailman/listinfo/openlayers-users
amrit karmacharya | 28 Jul 07:39 2014
Picon

Use Ushahidi api in another map using openlayers

_______________________________________________
Users mailing list
Users@...
http://lists.osgeo.org/mailman/listinfo/openlayers-users
PARDHU D | 26 Jul 06:46 2014
Picon

WMS getfeatureinfo popup problem on public ip

Hi to all,

I followed this link http://openlayers.org/dev/examples/getfeatureinfo-popup.html to getfeatureinfo popups. I am getting popups in my localhost where as on my public ip popup displaying " Some unexpected error occurred. Error text was:" . After "Some unexpected error occurred. Error text was:" I did not get any thing. I have set my public ip with domain on proxy.cgi file. If I type myPublicip/cgi-bin/proxy.cgi on web browser, I am redirected to openlayers. I am using apache tomcat web container.
Where I need to change? Can any one please tell me what is the problem?

Regards,
D Pardhu.
_______________________________________________
Users mailing list
Users@...
http://lists.osgeo.org/mailman/listinfo/openlayers-users
Luc Donnet | 25 Jul 14:27 2014
Picon

Get feature snapped from OpenLayers.Control.Snapping

Hi,

Is there a simple way to get feature snapped in Control Snapping. I see that we could find the snapped feature in the considerSnapping method in OpenLayers.Control.Snapping. But I don't find a simple way to get the feature and not override this control.

Best Regards
Luc Donnet
_______________________________________________
Users mailing list
Users@...
http://lists.osgeo.org/mailman/listinfo/openlayers-users
Steve.Toutant | 24 Jul 21:31 2014
Picon

OpenLayers.Filter encoding problem


Hello
I have defined a filter like this
new OpenLayers.Filter.Comparison({
                            type: OpenLayers.Filter.Comparison.EQUAL_TO,
                            property: "Région_administrative",
                            value: "Centre-du-Québec"
                        })

The query sent is not well encoded (see below and image attached)
..<ogc:PropertyName>R�gion_administrative</ogc:PropertyName><ogc:Literal>Centre-du-Qu�bec

So I get this error
  <ServiceException code="NoApplicableCode" locator="mapserv">
msWFSGetFeature(): WFS server error. FLTApplyFilterToLayer() failed
msPostGISLayerWhichShapes(): Query error. Error executing query: ERROR:  column &quot;Région_administrative&quot; does not exist
LINE 1: ...cc_v_site_patrimonial_cite_p&#39;,&#39;geom_p&#39;)) and ( ( (&quot;Région_a...
  </ServiceException>


Any idea on How can I send a well encoded request?

Attachment (filter_encoding_problem.png): application/octet-stream, 13 KiB
_______________________________________________
Users mailing list
Users@...
http://lists.osgeo.org/mailman/listinfo/openlayers-users
Fernando Silveira de Quadro | 24 Jul 15:17 2014
Picon

OpenLayers with Google Street View

Hi ALL,

Has anyone implemented a Google Street View layer in OpenLayers? Do anyone know if it is possible? 

If anyone has any examples and can send (link or code).

Best Regards,

Fernando Silveira de Quadro
Neoway Business Solutions
+55 48 3333-2030
R. Patrício Farias, 131 - 3o andar | 88034-132 |Itacorubi |  Florianópolis | Santa Catarina| Brasil 

_______________________________________________
Users mailing list
Users@...
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Gmane