Re: [OpenLayers-Users] reports and map in pdf

2010-08-05 Thread Moataz Elmasry
http://trac.openlayers.org/wiki/Printing Ricardo Rodríguez wrote: > hello all, I would like to know that there are libraries to create > reports and maps in pdf or in html with the data and maps created in > OpenLayers. > > that are easy to use or modification. > > thanks for your answers > > Ri

Re: [OpenLayers-Users] How to minimize openlayers.js file

2010-07-29 Thread Moataz Elmasry
openlayers use python script to build the classes together in one file. I take it that you want to minimize the openlayers.js and/or remove unused classes Checkout the code from the svn, and you'll find the folder build, which contains the the python script and build profiles. At the top of each

Re: [OpenLayers-Users] Geowebcache

2010-07-29 Thread Moataz Elmasry
Yes but in geoserver if you open the geowebcache demos, it will show you examples of how to call your layers in different formats. You can use these examples directly in your code. For a finer definition of the layer you'll have to define the geowebcahce.xml yourself. The address for geowebcach

Re: [OpenLayers-Users] problem consuming escaped single quotes in GeoJSON with a clustered vector layer

2010-06-14 Thread Moataz Elmasry
I just tried your string with an online parser: http://json.parser.online.fr/ and eval() returned an error. You don't need to escape the single quote character since its inside a double quote, so just remove the slash \ and it should work Eric Lemoine wrote: > On Fri, Jun 11, 2010 at 2:34 AM, Za

Re: [OpenLayers-Users] no element found with OpenLayers.Request

2010-05-03 Thread Moataz Elmasry
sorry forgot to mention Firefox 3.5.9 OpenLayers: 2.8 Firebug 1.5.3 And the url is localhost Moataz Elmasry wrote: > Hello List > > I'm creating a feature with the features-edit tool and then committing > this feature to some server in geojson format. > &

[OpenLayers-Users] no element found with OpenLayers.Request

2010-05-03 Thread Moataz Elmasry
Hello List I'm creating a feature with the features-edit tool and then committing this feature to some server in geojson format. It looks as follows: OpenLayers.Request.POST({ url: Pronto.consts.Mapservice.URL.Base, callback: this.featureHandler, scope: this,

Re: [OpenLayers-Users] SaveStrategy does not work - WFSProtocol with Vector Layer

2010-03-19 Thread moataz Elmasry
Hmm. From the stack trace it seems that the request arrives to geoserver and a transaction performed againest the db. In the snippet: Request: transaction handle = null service = WFS version = 1.1.0 baseUrl = http://localhost:1234/geoserver/ providedVersion

Re: [OpenLayers-Users] SaveStrategy does not work - WFSProtocol with Vector Layer

2010-03-19 Thread moataz Elmasry
I might be wrong concerning the proxy issue. But to clear something here, you would still see the vector layer and the features you add per hand to that layer, unrelated to, whether these features are added to the db or not. My concern here is that how can we make sure that the transaction has

Re: [OpenLayers-Users] SaveStrategy does not work - WFSProtocol with Vector Layer

2010-03-19 Thread moataz Elmasry
I might be wrong, but maybe your problem might be related to proxy issues. are you using proxy.cgi? Maybe you want to see check threads out: http://n2.nabble.com/Problem-with-WFS-proxy-cgi-td4662347.html http://old.nabble.com/proxy.cgi-for-WFS-td20239114.html open layer has its own python proxy h

[OpenLayers-Users] Problem with WFS proxy.cgi

2010-03-02 Thread moataz Elmasry
Hello List I know that this topic has been visited many times I'm aware of the following pages: http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost http://trac.openlayers.org/browser/trunk/openlayers/examples/proxy.cgi and the threads: http://openlayers.org/pipermail/users/2006-Nov

[OpenLayers-Users] Add new Parameter to options

2009-12-22 Thread Moataz Elmasry
Hello List I've created a custom toolbar as follows: OpenLayers.Control.CustomNavToolbar = OpenLayers.Class(OpenLayers.Control.Panel, { Map : null, initialize : function(options) {console.log(Map);} }); Now I want to add the parameter Map to to the constructor: var nav = OpenLayers.Co

[OpenLayers-Users] Examples are down

2009-12-16 Thread Moataz Elmasry
Hello List Running the examples on http://openlayers.org/dev/examples/ I get a js error that the OpenLayers.(anything) is not defined, I didn't go through all the examples, but maybe a path has been changed recently? Thnx alot, regards Moataz ___ User