Hi!
It has been a while since I got any problems with OL but this time has
unfortunately come...
Actually I am just looking for some solution for my task...
I got some images that shows the city of New York with the streets hotels
and some other objects. All this data are stored as jpg files. I h
Thanks a lot for your help Bart! That was it. I copied only the OpenLayers.js
file without the theme folder. Now everything is working fine.
Regards,
Poul
--
View this message in context:
http://n2.nabble.com/LayerSwitcher-in-OpenLayers2-9-RC2-in-wrong-place-on-the-map-tp4906606p4906776.html
Se
Hi!
I have been wondering how come my layer switcher appears in left top corner
of the map. It does not look good. Here is screen:
http://img171.imageshack.us/img171/303/errir1.png
When I open it it looks like this:
http://img512.imageshack.us/img512/994/error2l.png
In version 2.8 of Openlaye
Hi Bart
Ok, thanks for the info. I was just curies how come it is not working in the
latest release. Now I know... I will have to include patch by myself :)
Regards,
Poul
--
View this message in context:
http://n2.nabble.com/Error-in-Openlaywers-2-9RC2-tp4901353p4901531.html
Sent from the Ope
Hi
Before 2.9RC2 I was using 2.8 with this path:
http://n2.nabble.com/attachment/3508031/1/xmlhttprequest.patch
The path was fixing the error NS_ERROR_NOT_INITIALIZED -
[nsIXMLHttpRequest.send]. I even created a topic about this. Here is the
link:
http://n2.nabble.com/nsIXMLHttpRequest-NS-ERR
I worked! The right way to do this is this way:
protocol: new OpenLayers.Protocol.WFS({
version: "1.1.0",
url: "http://localhost/geoserver2_0_1/wfs";,
featureNS : "http://www.openplans.org/topp";,
featureType: "bazadanych",
geom
Hi
My POST XML GetFeature looks like this:
http://www.opengis.net/wfs"; service="WFS"
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
http://www.openplans.org/topp";>
http://www
Hi Bart!
As you can see my code was this same as yours at the beginning. But this did
not work for me. I understand in firebug you can see JSON code instead of
GML ... am I wright?? Do you know what else may be wrong in my case? I would
really appreciate any help...
Regards,
Poul
--
View this m
Hi Andreas
Unfortunately it still does not work. My code for protocol looks now like
this:
protocol: new OpenLayers.Protocol.WFS({
version: "1.1.0",
srsName: "EPSG:4326",
url: "http://localhost/geoserver2_0_1/wfs";,
featureNS : "http://www
Hi!
I have been reading for a while that using JSON format is better in some
cases that using just GML (XML). I have been trying to use it, but in
firebug all the time I can see just XML not the json file... My code looks
like this:
var wfsproba = new OpenLayers.Layer.Vector("Editable F
Hi!
I am trying to write an login into Geoserver functionality via Java. I use
GWT, Geoserver 2.0.1 and Openlayers 2.8. I have configured geoserver (by
layer.properties and users.properties) that only admin can do anything. If
you are not logged you can not read or write anything.
I used 'mode=CH
Hi!
I wrote an application using GWT, OL2.8, Geoserver2.0.1 and PostGIS. The
user is able to view, save, delete and modify data using web browser. Now I
have been thinking about a way to limit the functionality to the user.
For example:
- only the admin user can modify data.
- only some users c
Hi Gabriel!
I works!! But I had to made some changes... It did not work in a separate
variables. I have to do like this:
var describeFeatureTypeRequest = OpenLayers.Request.GET({
url:
'http://localhost:8080/geoserver2_0_1/wfs?SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=top
Hi Gabriel!
Thanks a lot for your help! I am going to try it tomorrow at work and write
whether it works or not.
Poul
--
View this message in context:
http://n2.nabble.com/WFSDescribeFeatureType-how-to-use-it-tp4791176p4793088.html
Sent from the OpenLayers Users mailing list archive at Nabble
You may use a google layer as a base map. I use GWT Openlayers and in my case
it works just fine...
Poul
--
View this message in context:
http://n2.nabble.com/GWT-openlayers-and-bing-tp4791277p4791289.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
__
Hi!
I was jus wandering if anyone please tell me how to use
WFSDescribeFeatureType class. I am thinking about getting the name of the
attributes from my database. I found a lot of examples like this:
var text =
' .
' ' +
'' +
Hi Tim!
Thanks a lot for your help! I am going to try it tomorrow at work, and see
if it works... As far as I undestand the handlerOptions: {multi: true} tells
if the data are saved as multi or not multi... am I right??
Al this time I was thinking that WFS Web Servis version 1.1.0 is able to
tran
Hi Ramon
Thanks for your help but unfortunately it still does not work for me.
My layer definition looks like this right now...
var wfsproba = new OpenLayers.Layer.Vector("Editable Features", {
strategies: [new OpenLayers.Strategy.BBOX(),saveStrategy],
projection: new O
Hi!
I have looke into the request in the two cases:
First when I use WFS layer and commit method. The request looks like this:
http://www.opengis.net/wfs"; version="1.0.0"
service="WFS">http://www.openplans.org/topp";>
http://www.opengis.net/gml";>
1725436.9258124,6788640.0106605
1725967.207
Hi!
I have a really strange problem. At the beginning I was thinking that it was
Geoserver fault, or maybe Postgis but now I think this is Openlayers fault.
At first I was using WFS layer, I had implemented insert, update, delete and
modify functions and everything was was working just great. But
Hi!
I have looke into the request in the two cases:
First when I use WFS layer and commit method. The request looks like this:
http://www.opengis.net/wfs"; version="1.0.0"
service="WFS">http://www.openplans.org/topp";>
http://www.opengis.net/gml";>
1725436.9258124,6788640.0106605
1725967.207
The request looks like this:
http://www.opengis.net/wfs"; service="WFS"
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://www.openplans.org/topp
http://localhost:8080/geoserver/wfs/DescribeFeatureType?version=1.1.0&typename=topp:pro
HI!
I am almost sure this is openlayers fault. I started new topic here :
http://n2.nabble.com/WFS-layer-commit-works-save-strategy-from-WFSProtocol-does-not-work-POST-vs-GET-td4776941.html#a4776941
Poul
--
View this message in context:
http://n2.nabble.com/SaveStrategy-does-not-work-WFSProto
Hi!
I have a really strange problem. At the beginning I was thinking that it was
Geoserver fault, or maybe Postgis but now I think this is Openlayers fault.
At first I was using WFS layer, I had implemented insert, update, delete and
modify functions and everything was was working just great. But
Hi!
I probably know where is the problem. For sure this is no problem of
Openlayers. This is problem of Geoserver and Postgis
I have create my table from shp file. All the geometry are
Multilinestring... When I try to add new data I got error.
I have made an experiment. I have created new table
Hi!
I have tried many approaches and for now there is nothing better. I have
checked everythink on Win2000 and XP. I used the latest geoserver (version
2.0.1) and tomcat 6.0. Still this same. I got the error. I have changed the
debug mode in Geoserver, and now I got some more information, but sti
Hi!
Thanks a lot for your interest. I have changed the configuration just to
check if it was depending on the proxy issue. Now I have Tomcat running my
application and geoserver running from the exe file (on windows 2000). I am
using OpenLayers proxy file. Now I got in firebug an error... The Sou
Hi!
I am familiar with the proxy issue, but in my case it should not be the
problem. If it was I wouldn't see the vector layer at all (I suppose). I
have both geoserver and my application running on this same server
application - Glassfish, in this case the proxy should not be the issue...
don't
Hi!
I am using Postgis, Geoserver and Openlayers 2.8. I create my simple
application based on this example
http://dev.openlayers.org/releases/OpenLayers-2.8/examples/wfs-protocol-transactions.html.
I can see the vector on map, I can get the object attributes from the
feature I clicked on, but I
Sorry, my mistake...everything is working correctly. I had some mistakes in
my code... Just remember to use version 1.1.0 WFSprotocolOption and
everything should be working wright...
Poul
--
View this message in context:
http://n2.nabble.com/GWT-Openlayers-WFSProtocol-WFS-version-1-1-0-does-not
Hi!
I am using GWT with Openlayetrs 2.8. My goal is to save, delete and modify
object from Web Browser. I am using for that Vector layer with WFSProtocol.
I wrote 'save strategy' class for vector layer, because it has not been
included into GWT-OL library yet. When I try to save some features to
Hi Kris!
It worked! The error is now gone. Both in my GWT application and in JS
application :) Thanks a lot for your help. I had some problems with building
Openlayers, but with some help I did it.
One more time thanks!!
Cheers,
Poul
--
View this message in context:
http://n2.nabble.com/nsIXML
Hi!
Thanks a lot for your help. I worked!!! :) I have no idea why my approach
did not work, but now it is no important... Thanks one more time !
Poul
--
View this message in context:
http://n2.nabble.com/Building-Openlayers-on-Windows-build-py-tp4743084p4743474.html
Sent from the OpenLayers Us
Hi!
I have done some changes to the fiole XMLHttpRequest.js file, and now I want
to build Openlayers (deploy to one OpenLayers.js file) but I having some
problem... I am using OpenLayers 2.8 on Windows2000 and Python2.6. I opened
the cmd and tried this approaches:
- D:\GWT\OpenLayers-2.8\OpenLay
I just want to say that I have tried with and without a proxy (geoserver an
my application both on the same server), and the problem still appears...
Maybe someone had this problem ...
Poul
--
View this message in context:
http://n2.nabble.com/nsIXMLHttpRequest-NS-ERROR-NOT-INITIALIZED-with-Ve
Hi!
I am using OpenLayers 2.8 ang Geoserver. I have tried two approach
- WFS layer
- Vector layer with WFSProtocol
and all the times I have this error:
uncaught exception: [Exception... "Component returned failure code:
0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIXMLHttpRequest.send]" nsresult:
Hi!
I have very similar problem. I can see my data via WMS and WFS layer but not
with Vector layer with WFSProtocol. BTW I use GWT and Openlayers - so it may
be a little different but I do not really think so... I use the nightly
version of Openlayers... I am trying to display sample data from g
Hi!
I am working with GWT-OL from page
http://sourceforge.net/projects/gwt-openlayers/.
I was thinking if someone may know the way to get the name of attribute
(name of column in the database) dynamically? My idea is not to hardcode the
name of attributions in the code. Is there a way to do this?
Hi
What system do you use?? Win or Linux ?? If Windows I may help you...
I was dealing with this problem for about 3 days, and today I have finally
done it. I am working with:
- system Win 2000
- Geoserver standalone edition 1.6.4
- Python 2.6 - Yo have to install this !! I have tins in folder
Hi
As far I know what you write in popup is simple HTML. So you can write
anything you want. I when I was using popup I added an image (in html code),
I created divs and anything I wanted... there was no problem...so you just
think this is a web page and write html code :)
Good luck,
Poul
--
Vi
If anyone is interest with this problem there is a discussion on the GWT-OL
mail list page:
http://sourceforge.net/mailarchive/forum.php?forum_name=gwt-openlayers-users
Maybe someone has any ideas??
Regards,
Poul
--
View this message in context:
http://n2.nabble.com/GWt-Openlayers-problem-GO
Hi!
I know that there is a lot of Proxy issues on the forum but I could not find
anything that suits my problem.
I am working with Python2.6, Tomcat5.5 on Windows 2000. I have finally
configured the tomcat (after several hours) to work with Python CGi scrips.
The simple scripts works just great,
Hi Ant!
Thanks a lot for your help... I have been looking on the Internet, and lot
of people have this same problem but no one gave any solution... I did as
you have told me, but this google layer is still in the left corner of the
map!! I add the updateMap function just before the center method.
Problem solved thanks to Edvin!
There is missing constructor for WFSParam. This code deals with the problem.
public class WFSParamsExt extends WFSParams {
protected WFSParamsExt(JSObject jsObject) {
super(jsObject);
}
public WFSParamsExt(){
Hi!
I have no idea what is going on but I can not create the simplest WFS layer
!!
My code:
WFSOptions wfsOptions = new WFSOptions();
WFSParams wfsParams =new WFSParams();// ERROR !!!
wfsParams.getJSObject().setProperty( "typename",
"topp:zielona_openstreets");
Hi And!
Thanks for your help. I do not have any method updateSize() on my map...
Below is my code...I hope you could help me... I removed the WMS layer from
the code, because with or without it I still got the same problem...
private void initializeGooglLayer(){
GoogleOptions goo
Hi!
I move the topic here:
http://n2.nabble.com/GWt-Openlayers-problem-GOOGLE-layer-appears-in-left-corner-td4619582.html#a4619582
cheers,
Poul
--
View this message in context:
http://n2.nabble.com/SelectFeature-control-and-click-event-on-marker-tp2186747p4619594.html
Sent from the OpenLayer
Hi!
I am using GTW_OpenLayers from
http://sourceforge.net/projects/gwt-openlayers/ page. I have google and wms
layer. The problem is:
When I load the page my map looks like this:
http://i45.tinypic.com/e9aqvn.jpg
I try to zoom in, zoom out, move on the map, the google layer does not
appear on t
Hi...
Sorry for writing so late but I wasn't at work. I used as you said OL from
this page http://dev.openlayers.org/nightly/OpenLayers.js and still this
same. Still when I want to use google layer I have you max and min
webbrowser or start and close firebug e.g. What is wrong?? Are you sure that
Hi Andreas!
I have tried using Openlayers2.7 and 2.8, and I still have this same
problem? What version should I use -> http://openlayers.org/download/ ??
Regards,
Poul
--
View this message in context:
http://n2.nabble.com/SelectFeature-control-and-click-event-on-marker-tp2186747p4591932.html
I have this same problem. Did anyone solve it?? Please write
agul wrote:
>
> Hi David I faced the sama problem but I couldnt solve if you find a way
> please write...
>
> David Potts wrote:
>>
>>
>> Hi
>>
>> Am trying to load a google map via the gwt plug in and its not working.
>>
>
Hi!
I know that the post is actually pretty old, but maybe you still remember
what library did you choose, and why? I am looking for a java library too, I
was actually thinking about using gwt-openlayers. I made an application
using just js Openlayers and now I am tyring to rewrite it with GWT +
Hi Jim!
I have this same problem Did you manage to deal with it?? I tried
everything, on different server (glassfish, Jetty) and the problem still
occurs. Please write to me whether you found the solution...
Cheers,
Poul
www.gwtorm.com wrote:
>
> Anybody uses GWT and org.gwtopenmaps libra
Hi!
Oh, I see now what you meant. Thanks for your help, I am going to look into
it...
Cheers,
Poul
--
View this message in context:
http://n2.nabble.com/Can-t-update-a-feature-for-which-there-is-no-FID-WFS-T-tp4547884p4560973.html
Sent from the OpenLayers Users mailing list archive at Nabble.c
Hi!
Thanks for your help. I try to use my_wfs_layer.refresh({force:true }) but
it works this same. I am using the Openlayer.state.INSERT for adding new
data into database. I am also using Layer.WFS, not vector. When I try to
use Openlayers.State.SAVE like you told me to I got an error:
Błąd: u
Hi!
I have problem with WFS-T ADD state. I my application the user is able to
add, update and delete a feature from map. The problem appears if:
1. User draw new geometry on map, fill out the attributes of new object and
click SAVE to database.
2. Then user click on the new object on map. The att
Solved!
The Modify control uses unselectFeature and selectFeature method. Only the
onselect control uses unselect and select method. Now everything works fine.
Thanks for your help Alex!!
cheers,
Poul
--
View this message in context:
http://n2.nabble.com/Modify-object-other-then-from-muse-clic
Hi Alexandre!
Thanks for your help. The first part works just great. But there is an error
in the second part, when I change the status of checkbox from true to false.
My code is below:
else
{
drawControls["modify_w
Hi!
I am using WFS layer on may map with modify and select control. After I zoom
in or out the selected geometry in no longer selected. This same goes with
modify. Is there a way, maybe some option on map that allows to remember
selection. Or maybe there is a way to select this feature from code?
Hi!
Thanks for your help but unfortunately it does not work. Here is my code:
My controlls
drawControls = {
chooseobject: new OpenLayers.Control.SelectFeature(
zielona_wfs,
{
Solved!
In my map definition I add two lines:
projection: new
OpenLayers.Projection("EPSG:900913"),
displayProjection: new
OpenLayers.Projection("EPSG:900913"),
I also have hanged my data in database from 4326 to 900913. Now eve
Hi Max!
I am using Openlayers, Geoserver, Postgis on Windows XP. I was thinking that
adding new object into database would be difficult but is was not. I am
using only JS. I do not use any PHP or something like that. I add a new
object into database with: road geometry, id of road and name of roa
Did anyone have this kind of problem? Anyone?? Is there a way to manage with
it? Please...
--
View this message in context:
http://n2.nabble.com/Modify-object-other-then-from-muse-click-tp4504224p4524858.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
Hi Max!
All my data is in 4326 projection (e.g 15.3445345 15.4242432 ). On my map in
the right-lower cornet coordinates are presented in google projection (e.g
678984.455666 654544.34443). Maybe there is a problem, I do not know. Just
to remind when I add new geometry everything is all right. Pro
Hi
Yes it is possible. I am actually writing an application that has that
functionality. You draw f.g. line on map, then you click save button and
geometry is save in the Postgis database. I am using WFS to display data on
map and to imput a new data to database. Hope it helps you...
I ddd not ge
Hi
I have problem with WFS-T when I update geometry on map. I am using OL 2.8,
Geoserver 1.6.4 and PostgreSQL8.3 with Postgis 1.3.6. I am using google
layer as a base layer.
When I update the geometry on map and do commit() the geometry disappears! I
did not know what was happening until I check
Hi Max
I made changes in openlayers.js file. Exactly this line:
this.virtualStyle.fillOpacity=1;this.virtualStyle.strokeOpacity=1
And everything is ok. The opacity of points is alright. I know it is not
maybe the best way to do it, because now I have to move my html file with
hole openlayers l
Hi Max
You got me... That was my mistake. I changed it to the way it should be, but
unfortunately the points have all the time this same opacity. If I change
the value form 1 to 0.1 I can not see any response on the map. The opacity
of points is this same... So am I guessing this code is not even
Hi!
I hope some of more experiences OpenLayers users could help me with my next
problem. I have a line goemetry on map that I can select and modify. When I
click on road on map the info about road is presented on the right of the
page in 'Information' fieldset.
http://img3.imageshack.us/img3/535
Hi Max
Sorry I did not writ sooner but unfortunately I was sick... Today I was
trying your solution but I got error "Invalid label " like this:
Error: invalid label
Source code:
drawControls["modify_wfs_layer"].initialize: function(zielona_wfs) {
Hi
I have problem to set the opacity of a point in a line geometry that is
being changed? Points that are on the edges of links have correct opacity =
1. But points between have some opacity that I have no idea how to change?
The screen below shows it all.
http://img11.imageshack.us/img11/8026/e
Thanks for your suggestion. I am going to check it as soon as I can.
Maybe someone has another idea?
Regards,
Poul
--
View this message in context:
http://n2.nabble.com/Way-to-get-name-of-the-feature-attribute-tp4439540p4442973.html
Sent from the OpenLayers Users mailing list archive at Nab
Does anyone know how to do it? Please... any help...
Thanks,
Poul
--
View this message in context:
http://n2.nabble.com/Removing-message-after-WFS-T-transaction-tp4439742p4442964.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
Hi is there a way to remove the alert (message) after adding new object to
database with WFS-T. I am using code from demo example from Geoserver. The
code is shown below
drawControls = {
add_object:new OpenLayers.Control.DrawFeature(
zielona_wfs, OpenLayer
Hi
I am using WFS-T to add object to the database. Is there a way to get a name
of columns in that database. I mean how to get the name of the attribute. I
am using these code below to add new object to the database.
drawControls = {
add_object:new OpenLayers.Control.DrawFea
It's working :jumping:
Thanks a lot for your help. So little change and it works. You saved my day
:clap:
Regards,
Poul
--
View this message in context:
http://n2.nabble.com/Map-style-for-WFS-layer-does-not-work-tp4426355p4432549.html
Sent from the OpenLayers Users mailing list archive at Nab
Ok. Now i understand =) I will try it tomorrow at work. Thanks a lot for your
help. I hope it would be it.
Thanks, Regards
Poul
--
View this message in context:
http://n2.nabble.com/Map-style-for-WFS-layer-does-not-work-tp4426355p4429011.html
Sent from the OpenLayers Users mailing list archive
What do you mean? Can you please explain a little bit. I would really
appreciate.
Regards,
Poul
--
View this message in context:
http://n2.nabble.com/Map-style-for-WFS-layer-does-not-work-tp4426355p4428961.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
Can anyone please help me??? does anyone know how to use style correctly? I
would be very grateful... any clue ?
Regards,
Poul
--
View this message in context:
http://n2.nabble.com/Map-style-for-WFS-layer-does-not-work-tp4426355p4428845.html
Sent from the OpenLayers Users mailing list archive
Hi
The WFS layer does not appear on map when I try to use one of these three
style definition. First of all definition of my WFS layer:
zielona_wfs = new OpenLayers.Layer.WFS(
"Zielona Gora WFS - drogi, postgis",
"http://localhost:8080/g
Hi!
Yes, Yes, Yes This is it :clap:
Thanks a lot for your help
Regards,
Poul
--
View this message in context:
http://n2.nabble.com/WFS-attributes-at-init-tp4413521p4419769.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
__
Hi!
I am able to get name of the attribute and the attribute by clicking on the
feature on map. I am trying to get only the name of the feature, and use
them in init(function), not only in method onFeatureSelect(feature) but also
in init(). Is there a way to get to them by using just the WFS_laye
Hi Marc
Thanks for your reply. But unfortunately it does not work. I was aware of
method getLonLatFromViewPortPx(evt.xy) on map. but I could not make it work.
I used this code:
var lonlat;
Map.events.register("click", Map, function(e)
{
lonlat = Map.getLonLatFromViewPortPx(
Hi
I have a problem with openlayers. I Have a roads on my map that are serve by
WFS. I used function onFeatureSelect(feature) to get to the attributes of
this geometry. I show them in a popup menu. The problem is shown on the
screen below.
http://zapodaj.net/1574e8d9d73c.jpg.html
The blue arrow
No... the d:/my_project was just my folder, not connected to any server or
something like this. I was thinking that adding openlayer library to my
folder will do all the magic but I guess i will not... Everything works just
fine with WMS. Why doesn't with WFS? What do you think?
--
View this mess
Hi
I was dealing with this problem some time ago, but finally I have decided to
use WMS layer. Now unfortunately I have to use WFS layer because I have to
provide functionality of clicking and editing roads on map. I was trying for
some time to cope with it and I finally did it. The problem was e
Solved I was using wrong Openlayers version. I downloaded the latest version
and nowe everything is working just fine :)
--
View this message in context:
http://n2.nabble.com/WFS-Error-OpenLayers-Layer-WFS-is-not-a-constructor-tp4343721p4347986.html
Sent from the OpenLayers Users mailing list ar
I forgot to say, that this error only occurs on my local installation. When I
am try to check the WFS layer from the on the Openlayers->example page WFS
layers is working fine. But when I copy the WFS layer definition from
example file, and I try to use it in my page I got error
"OpenLayers.Layer.
Hi
All the time I am trying to use WFS layer I have error :
"OpenLayers.Layer.WFS is not a constructor" for egzample
var roads = new OpenLayers.Layer.WFS(
"Roads",
"/geoserver/wfs",
{typename: 'topp:tasmania_roads'},
I managed with this!! It is working now!
I changed the layers included in the map in init function. I had:
map.addLayers([gmap,layer1,layer2,layer3,start,stop,result,edge_results])
I changed it to
map.addLayers([gmap,layer1,layer2,layer3])
I removed my routing layers. Then in function toggleC
Can anyone please help me... I still can't figure it out. Please any idea?
Anything I would really appreciate...
Regards,
Paul
paweluz wrote:
>
> Hi!
>
> First sorry for my poor english :). I am having some problem with the
> OpenLayers I guess.
> My appl
I am working with OpenLayers 2.7 and Geoserver on Windows XP
--
View this message in context:
http://n2.nabble.com/Problem-with-controls-on-map-%28SelectFeature%2C-Drawfeature%29---OpenLayers%2C-pgRouting-tp2777336p2777346.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
Hi!
First sorry for my poor english :). I am having some problem with the
OpenLayers I guess.
My application looks like this:
http://img245.imageshack.us/img245/3273/aplikacja.jpg
http://img245.imageshack.us/img245/3273/aplikacja.jpg
It provides searchinkg bus stops and bus lines in my city. A
well..
- get the length of all geometry - ST_Length(geometry) e.g length = 120.0 m
- what distance you want your new point e.g in 45.0 m then you do :
120x=45 /120
x=0.375
- then you do
select astext(ST_LINE_SUBSTRING(
ST_LineMerge(the_geom),
0, 0.375
Hi!
You can use this:
select astext(ST_LINE_SUBSTRING(
ST_LineMerge(the_geom),
0, 0.5)) from table
(the_geom is the line geometry) This returns the line geometry equals half
of the the_geom. If you have line geometry it returns half of it. Then you
can g
95 matches
Mail list logo