When you include your map parameter in the base URL, do you get a
valid WMS URL?
On Fri, Aug 27, 2010 at 3:12 AM, Kiks wrote:
>
> After replacing special characters, passing the url to the browser, it
> happens that the url is not valid due to the absence of the map parameter
> requested from map
What happens when you execute this URL in a browser?
On Thu, Aug 26, 2010 at 9:39 AM, Kiks wrote:
>
> I found a banal error in my code:
>
> in the url parameter:
>
> ... url: 'http://"+host+"/mapserverms4w/mapserv.exe', ...
>
> there where double quote instead of single quote.
>
> Now I can see t
Isn't something like this also done with cloud pop-ups?
Here is the popup png:
http://dev.openlayers.org/releases/OpenLayers-2.9.1/img/cloud-popup-relative.png
David.
On Wed, Aug 18, 2010 at 9:56 AM, matt.wood...@zsassociates.com
wrote:
>
> Thanks Bart - good to know where to add this functiona
> PROJECTION
> "init=epsg:900913"
> END
>
> ==> The layer was draw, but in other location (0 0´0´´E 0 0´0´´N)
>
> Paul
>
> On Wed, Aug 18, 2010 at 11:08 AM, David Fawcett
> wrote:
>>
>> Paul,
>>
>> I don't think that it ma
Paul,
I don't think that it matters for this case, but I think that you want
to drop the '+' sign from your MAP level projection block.
Do you have a projection block for your layer? That is definitely required.
David.
On Wed, Aug 18, 2010 at 9:00 AM, Paul james wrote:
> Yes, My proj.4 has EP
Paul,
What does the rest of your mapfile look like?
Is there a record for EPSG:900913 in your proj.4 database?
David.
On Wed, Aug 18, 2010 at 8:29 AM, Paul james wrote:
> I tried that setting wms_srs (mapserver):
> METADATA
> "wms_srs" "EPSG:900913"
> "wms_title"
I think that the problem is that when you make two discrete calls to a
WMS, even the same WMS, when you make the second request, it doesn't
know anything about the first request.
If you control both of the WMS and they are MapServer based, you could
try setting a specific label placement for your
JOSM does not run in a Web browser...
On Jun 1, 2010, at 5:51 AM, Joosep-Georg Järvemaa wrote:
> 2010/6/1 Andreas Hocevar :
>
>>> So you're saying that this JOSM-like behaviour where I have the
>>> display picture in EPSG:3857 and am working with real coordinates is
>>> not possible at all
Joanne,
I would first verify that your server is sending the WFS attributes.
Use FireBug to look at the WFS request and response.
If you are not getting attributes as part of your response, you may
need to tweak the settings on your WFS server. If you are using
MapServer, this recent post might
Jimmy,
If you want to overlay your images with other geographic data, I think that
the first step that you will need to do is to georeference your images.
If you want to use arbitrary image coordinates, you might want to look at
these user examples:
http://trac.openlayers.org/wiki/Gallery#Non-Map
WMS-C or TMS
Thanks,
David.
On Fri, Apr 16, 2010 at 11:50 AM, Eric Lemoine
wrote:
> On Fri, Apr 16, 2010 at 3:54 PM, David Fawcett
> wrote:
>> Jeff,
>>
>> I sounds like OpenLayers with a WMS or TileCache or tiled WMS layer
>> would work for you. Even if you us
Jimmy,
Check out the OpenLayers example that pulls data from at Tiled Map Service:
http://www.openlayers.org/dev/examples/tms.html
Here is the URL that OpenLayers generated for one of the image tiles.
http://labs.metacarta.com/wms-c/Basic.py/1.0.0/basic/5/32/22.png
You should be able to slice
PM, Chris Green wrote:
>
>> Hi David
>>
>> I am using MapServer. Looking at the response in Firefox it is only sending
>> geometry, no attributes. Any idea how to persuade it to be more forthcoming?
>>
>>
>> Chris
>>
>> -Original Mes
Chris,
I would first verify that your WFS server is sending the attributes in
the getFeature request. Some WFS servers only send the geometry info
by default and need some additional configuration tweaks to include
the attribute info. What are you using as a WFS server?
David.
On Tue, Apr 20
Jeff,
I sounds like OpenLayers with a WMS or TileCache or tiled WMS layer
would work for you. Even if you used a pre-rendered tile backend, I
believe that you could still send WMS getFeatureInfo requests to a WMS
server (you would need to keep the data in sync though).
If KaMap wasn't performing
sunny74,
I see that you are already a member of the mapserver-users list, I
suggest that you send a message to that list yourself.
If you want a useful response, or even any response, you will need to
write a more informative message.
You say:
On Tue, Apr 13, 2010 at 1:22 PM, sunny74 wrote:
>
Have you looked here?: http://mapserver.org/ogc/wfs_server.html
If you are having problems creating a WFS server on MapServer, I would
send a message to the MapServer list.
David.
On Tue, Apr 13, 2010 at 8:35 AM, sunny74 wrote:
>
> Hi Sarah,
>
> The link you gave is a post where the person him
Download the file, rename it with a .txt suffix and open it up with a
text editor.
It is not actually asking you to download the MapServer executable,
you are getting an error message from your WMS server. The contents
of this file should contain the error message.
David.
On Sun, Mar 28, 2010 a
It isn't pure OpenLayers, but there is a MapFish example that may fit
your case at:
http://demo.mapfish.org/mapfishsample/1.2/examples/editing/editing-panel.html
David.
On Wed, Feb 17, 2010 at 9:47 AM, Sven Böhme wrote:
> Hi List,
>
> I´m an OpenLayers newbie, but the first steps work great and
mas.opengis.net/wms/1.1.1/exception_1_1_1.dtd";>
>
>
>
>
>
> Any idea?
>
> Thanks
>
> Stella
>
>
> 2010/1/21 David Fawcett
>
> Stella,
>>
>> The below info indicates a problem in MapServer, not OpenLayers. I would
>> set Op
Talbot Brooks is looking for someone to put together a Web map app
that will allow the download of .pdf maps based on MGRS grid cell.
This is in support of relief work in Haiti.
It sounds like a fairly reasonable thing to do with OpenLayers. I
don't have time to pick this up right now, but if any
Stella,
The below info indicates a problem in MapServer, not OpenLayers. I would
set OpenLayers aside for a little bit and get your map working in basic
MapServer CGI mode=map. This will confirm that MapServer can draw the data
based on your query to MS SQL Server.
Once you know that the data s
I have a basic OpenLayers WMS app that requests tiles in the native
SRS of the WMS. It works as expected.
I modified the app to request the WMS data in epsg 3785, but haven't
gotten it right yet. I am pretty sure that it has something to do
with the projection configuration.
The URL generated f
I am actually banging my head against almost the same problem right now.
If there is a solution that is 'more preferred' or cleaner than the
one pointed out by Gregor, I would love to hear about it...
David.
2010/1/8 Gregor at HostGIS :
>>> The two basemaps are from someone else's server in EPSG
This is more of a MapServer question, but MapServer uses Proj4 and can
transform your data from various input spatial reference systems to
other output spatial reference systems.
If you are getting your data back in epsg:4326, either your MapServer
map file is configured to do this, or your OpenLa
I am sure that in the context of WFS-T it is more complicated, but
would it work if you used a linestring layer and modified your PostGIS
SQL to wrap your points in something like a ST_MakeLine() function?
On Thu, Dec 10, 2009 at 9:39 AM, JuKiM wrote:
>
> Hi,
> I don't know if maybe this question
done as a pre-processing step to prepare some data sets to
build a WMS on.
In short, never mind...
Apologies for sending you down the wrong path.
David.
On Tue, Oct 6, 2009 at 9:40 AM, Christopher Schmidt
wrote:
> On Tue, Oct 06, 2009 at 09:22:47AM -0500, David Fawcett wrote:
>> Also, if
Also, if you don't need the vector feature funcionality (and you are
using a server product capable of serving a WMS), you might think
about using a WMS layer and dealing with the scale-dependent rendering
on the server side.
David.
On Tue, Oct 6, 2009 at 1:27 AM, Christopher Schmidt
wrote:
> On
Marc is correct, this is definitely a question for the MapServer list.
The short answer is that if you want a layer to always be drawn, set
status to DEFAULT. With a status of ON, you still need to include the
layer name in the URL. (This quirk of MapServer confuses a lot of
people.)
David.
If the data was served as a WMS, could one exploit the non-square
pixels 'feature' of the WMS spec?
What if one requested a 200 x 2000 px image with an extent (in local
coordinates) of 0 0 2 2000. (I am not used to working with image
coordinates, so I may have the order mixed up).
Just a theory.
Jerome,
I don't know anything about your application and the infrastructure
that you are running it on. If you are using MapServer to serve WMS
or WFS layers to your OpenLayers app, I have a different approach that
could work for you.
Instead of using an OpenLayers vector layer, you could use a
Karsten,
What part of your request is taking up so many characters?
If it is the query string, perhaps you can hard code most of the query
in your map file and then only send the where clause or certain
criteria as substitutions to MapServer?
David.
On Fri, Jul 3, 2009 at 1:28 PM, karsten venne
I was looking into this issue several months ago, but didn't get very far.
I am sure that Google implements their popups in a different way, but
this doesn't seem to be an issue in Google maps. I guess that they
just destroy a popup when you click near the tail, this allows you to
create a new po
Because you are using Geoserver, it may not be of much use, but there
are several examples of 'Googley' MapServer map files that could be
found by searching the MapServer listserv. I don't know if there is
an easy way to convert between a MapServer map file and a geoserver
config file.
David.
On
If you are already using MapServer, I can recommend making a
mode=legend call specifying the active layers to MapServer to return a
legend graphic for your map.
David.
On Mon, Apr 13, 2009 at 2:34 PM, Alexander Petkov wrote:
> On Mon, Apr 13, 2009 at 1:12 PM, MeLv1n wAuRaN wrote:
>> Static as i
Probably a heavier solution than necessary, but I am using MapServer
to generate GeoJson. This makes it easy to switch layer data source
formats and allows the flexibility of switching output formats easily
too (GeoJson, GML, WMS, etc.)
David.
On Tue, Mar 31, 2009 at 10:07 AM, Arnie Shore wrote
Could you use javascript to check to see if the image can be accessed
and then set the symbol property based on the result?
On Wed, Mar 11, 2009 at 9:36 AM, Heidt, Christopher M.
wrote:
> I assign an externalGraphic to each of my features.
> There is the possibility that the graphic for any given
Has anyone ever embedded an OL map in a MoinMoin page? If so, any
examples that you can point me to?
Thanks,
David.
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
David,
The application that you are talking about would be a classic use of
OpenLayers, and the fact that it would be used by a for-profit
business is not uncommon. In fact, a lot of the support for
OpenLayers has been by a for-profit company.
OpenLayers is just the application with no data serv
t's not so expensive to make some printing office to
> print books even the number of them would be small. They have digital
> printing presses nowadays.
>
> - mika -
>
> David Fawcett kirjoitti:
>>
>> I would be happy to kick in $25 - $50 to support the production of
I would be happy to kick in $25 - $50 to support the production of
documentation. Instead of making access to documentation subject to a
donation, I would rather have any donation money leveraged by making
more documentation available to as many people as possible. People
who have never used Open
Antoni,
If you also control the WMS and are serving up your own data, you
could use a scale-dependent WMS layer as your source.
You could also potentially build a WMS layer that cascades the data
from the two external WMS', using scale to determine which data source
to use. That said, this would
I don't know if MapServer's Oracle Spatial drivers can work with
Locator, and it would be an additional layer, but you could always use
MapServer to read your features and spit out geoJson, KML, etc.
Otherwise, you could likely use the OGR python module to read your
features and spit out lots of d
t on the
client side. Kludgy, but it seems to be working...
FYI, the new MapServer templating makes geoJson creation clean and easy.
On Tue, Dec 16, 2008 at 3:03 PM, Eric Lemoine wrote:
> On Tue, Dec 16, 2008 at 9:36 PM, David Fawcett
> wrote:
>> Thank you Eric!
>>
>> I
Thank you Eric!
I am curious, if a feature is not displayed, can it still be selected?
My hope (and guess) is that it can't. Essentially, is it just not
symbolized, or is it really 'not there'?
David.
On Tue, Dec 16, 2008 at 2:25 PM, Eric Lemoine wrote:
> On Tue, Dec 16, 2008 at 7:09 PM, Yves
If you think that this question smells of a hack, you are right...
I have a vector layer built on a GeoJson data source. I have one
feature in the data that I don't want to draw/create.
My first thought is that after the data is loaded, if I could get the
feature by ID or attribute and then dest
I have noticed that when I have a framed cloud pop-up drawn and I want
to select a different feature that falls within the bbox of the pop-up
window, I can't select it. My assumption is that the popup has a
higher z-index and when I attempt to select the feature, I am hitting
the transparent part
Alexandre,
You example looks interesting. In FF3, your base layer is drawing on
top of your draw control.
David.
On Tue, Dec 2, 2008 at 8:39 AM, Alexandre Dube <[EMAIL PROTECTED]> wrote:
> Sorry,
>
> The main page for the example is : http://dev4.mapgears.com/bdga/
>
> Alexandre Dube wrote:
>>
I am guessing that Chris is suggesting that you do something like draw
the features once with a width of 7 in black and then draw them again,
on top of the first ones using a width of 5 and a color of red.
David.
On Wed, Sep 24, 2008 at 9:07 AM, Matthew Atkins
<[EMAIL PROTECTED]> wrote:
> Like a
Have you thought about creating several versions of your polygon data?
Essentially, the vector pyramids that you were talking about.Keep
your very detailed layer and then create several, increasingly more
generalized layers.
Set up a WFS or WMS using MapServer. For the MapServer layer that y
Jeremy,
You may also want to explore an OpenSource Web mapping solution, like
MapServer, that can create a WMS from shapefile data.
David.
On Tue, Sep 16, 2008 at 12:48 PM, Christopher Schmidt
<[EMAIL PROTECTED]> wrote:
> On Tue, Sep 16, 2008 at 01:37:08PM -0400, Jeremy Jackson wrote:
>> I see
I am definitely not an expert in projections, but my understanding of
the Mercator projection is that it is accurate for direction and
shape, but not for size. The distortion increasing as you move away
from the equator.
There is actually some pretty good info at Wikipedia:
http://en.wikipedia.or
I am pretty sure that I have it working now by calculating the extent
of the tile requested by expanding the bounds of the viewPort by 25%
in each direction and then using that bbox in my legend request.
It would still be useful to get answers on my two questions to get
confirmation on the approac
I have whipped up a demo where I am using OL to serve up a simple,
single-tile MapServer layer. My goal is to display a legend in an
adjacent div using a mode=legend call to MapServer. I almost have it
working, but the synchronization is a little off. My test is that I
have a scale-dependent lay
Even though you carried this issue over to the OpenLayers list, your
problem still has nothing to do with OpenLayers. I would suggest
working this issue out in MapServer with a simple mode=map request
before attempting to serve the data up as a WMS or through OpenLayers.
If I recall some of your
This may not be an OpenLayers issue.
This looks a lot like a problem with MapServer output due to a bug in
a specific version of GD. If this is what is causing your problem,
the best solution would be to upgrade the version of GD or MapServer
binary/installer (which includes GD). A workaround me
Jeremy,
In general, whenever you have text or other vector features in a
raster/image format, they only look good within a relatively narrow
scale window.
If you are planning on serving this image up using MapServer, have you
thought about separating the text out and using MapServer to put the
te
Take a look at these 5 lines from your map file:
EXTENT -800 30 500 150
UNITS METERS
PROJECTION
"proj=latlong" "lat_1=32" "lat_2=44" "lat_0=38" "lon_0=-100"
"x_0=0" "y_0=0" "ellps=GRS80" "datum=NAD83"
END
You are telling MapServer that your image
Is there a preferred flavor of GeoRSS to use with OpenLayers?
David.
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Please forgive a minor hijack, can anyone point me to an example app using
FramedCloud?
Thanks,
David.
On Fri, Apr 11, 2008 at 4:09 AM, David Martin <[EMAIL PROTECTED]> wrote:
> Thanks – I will create a series of images with differing opacity and
> point to these.
>
> Regards
> David Martin
>
I can think of another option, but it is a fairly big change of course.
Instead of sending RSS to OpenLayers and building the vector features, you
could use MapServer to create a transparent WMS layer with your features in
it. That way, you could use LAYER SYMBOLSCALE to scale your symbols.
Davi
Aileen,
Take a look at the MapServer 5 migration guide. If you have additional
questions, I would ping the MapServer list.
http://trac.osgeo.org/mapserver/browser/tags/rel-5-0-0/mapserver/MIGRATION_GUIDE.TXT
David.
On Mon, Mar 31, 2008 at 10:06 AM, Aileen <[EMAIL PROTECTED]> wrote:
> Hi all,
You could use Mapserver to serve the data up as a WMS layer. Just
make sure that the OGR library that your MapServer uses was compiled
with mysql support.
On Feb 16, 2008, at 1:16 AM, schone <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> New to OpenLayers but I think it is an amazing projec
I am pretty sure that 'title' works in both IE and FireFox. It seems like
for quite a while, people were using the 'alt' tags for this purpose. They
only show mouse-over text in IE.
David.
On Jan 21, 2008 4:16 PM, Linda Rawson <[EMAIL PROTECTED]> wrote:
> I did this in the
>
> redraw:
> method
The GeoMoose interface does something similar.
http://www.geomoose.org/moose
You might want to take a look at the server-side script that they use for
creating a print image.
David.
On Dec 5, 2007 11:28 PM, Eric Lemoine <[EMAIL PROTECTED]> wrote:
> On Dec 6, 2007 2:13 AM, angus scown <[EMAIL PR
a hurricane in Alabama and I don't think there
> a hurricane in bama right now. Jamaica maybe. :)
>
> On 8/20/07, David William Bitner <[EMAIL PROTECTED]> wrote:
> > This is already in use in the OpenLayers example for WMS-T:
> >
> > http://openlayers.org
You can get Nexrad as a WMS from the Iowa Mesonet.
http://mesonet.agron.iastate.edu/ogc/
I remember recently seeing another source for weather data as a WMS on the
MapServer list, but I can't remember where it was being served from.
David.
On 8/20/07, Chris Hardin <[EMAIL PROTECTED]> wrote:
>
>
I believe that there is a maximizeControl() method for the LayerSwitcher()
control.
Try something like:
var layer_switcher = new OpenLayers.Control.LayerSwitcher();
map.addControl(layer_switcher);
layer_switcher.maximizeControl();
David.
On 8/7/07, Marc Desharnais <[EMAIL PROTECTED]> wrote:
>
I have a simple OpenLayers app that I am trying to get working with
TileCache. The layer is a MapServer served WMS layer. The image is
500x500. I am getting pink tiles, no images for the tilecache layer. Below
is quite a bit of info, let me know any other info is needed to diagnose.
The URL is
I am building a simple app following the getFeatureInfo example with the CIA
FactBook.
When I query a feature, I get the error: msWMSFeatureInfo(): WMS server
error. Unsupported INFO_FORMAT value (text/html).
I am using MapServer as the WMS server. I am assuming that I need to add
some metadata
Jessica,
For debugging the layer, one easy way is to just send a mode=map request
through your browser.
http://map.deed.state.mn.us/cgi-bin/mapserv.exe?map=/OpenLayers/OpenLayers.map&layers=county&mode=map
David.
On 7/27/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote:
>
> On Fri, Jul 27, 20
71 matches
Mail list logo