Re: [OpenLayers-Users] which is the best way to display a set of points coming from database?

2010-09-01 Thread Alberto Valente
dear BMcBride and RFeagin, If you send me your works I'll give them a try!! Actually I've managed creating a geojson object from the php page that executes the query. The geojson featurecollection is echoed inside the main page so I have it inside the openlayers I know it's not a optimum solution

Re: [OpenLayers-Users] which is the best way to display a set of points coming from database?

2010-09-01 Thread Alberto Valente
I understand.. I'm sure this solution is very good but unfortunately I MUST (and I'm not happy of this) use an Oracle db and I haven't access to it (cannot configure extensions, plugins, etc.). So the only way for getting the coords is querying them with a SELECT statement from a php page and arran

[OpenLayers-Users] which is the best way to display a set of points coming from database?

2010-08-31 Thread Alberto Valente
Hello everybody, I need to display a set of points that comes from a query to a database. The information associated with the point is simply ID, X_COORD, Y_COORD. I can write a php page that executes the query and I can get the results in javascript using a xmlhttprequest (ajax). I need to show t

[OpenLayers-Users] how to limit to 1 the number of points of a vector layer

2010-08-31 Thread Alberto Valente
hi all, starting from the Drag-feature example ( http://openlayers.org/dev/examples/drag-feature.html) I need to limit to 1 the number of points which can be added to the vector layer if the user, after having added one point, clicks again, the first point is deleted and only the newly created rema

[OpenLayers-Users] how to choose layers and "tile is undefined" error

2010-05-31 Thread Alberto Valente
Hi, I'm working with OL and arcIMS. Actually I can connect to arcIMS server but cannot load the layers I need. Here a snippet of my code (copied from examples) [..] layer = new OpenLayers.Layer.ArcIMS( "Global Sample Map", "http://www.mydomain.com/servlet/com.esri.esrimap.E

[OpenLayers-Users] manual for openlayers with arcims?

2010-05-26 Thread Alberto Valente
Hi everybody, I cannot find a complete manual about using openlayers with arcims. I need to use openlayers with an existing arcIMS installation but I don't know who made it and what are the settings and components needed for using it with openlayers (I mean, proxy.cgi, servlet engine and stuff lik