I'd recommend you use queryByIndex with bAddToQuery=true to avoid this error
I don't like 'in ()' operator at all))
Paul Moen-3 wrote:
>
> Is there a maximum length of the query text when setting a filter
> with php mapscript?
>
> For example,
>
> I use
> $tempLayer->setfilter('contract_id
Hi Ritesh,
Here an example that is working for me...
LAYER
NAME "Wegen"
TYPE Line
STATUS ON
DATA "provincie\wegvak"
LABELITEM
ANGLE FOLLOW will suffice your requirement.
- Ritesh Ambastha
On Fri, Oct 17, 2008 at 10:55 AM, ntiamoah bernard <[EMAIL PROTECTED]>wrote:
> Hi guys,
> How do I make my streets label follow the orientation of the streets. I
> mean i want some of the labels to be vertical, curve and horizontal. I
Hi guys,
How do I make my streets label follow the orientation of the streets. I mean i
want some of the labels to be vertical, curve and horizontal. I set the "angle"
to "auto" but nothing happened.
thanks guys
___
mapserver-users mailing list
On Thu, Oct 16, 2008 22:51:58 PM -0500, Steve Lime wrote:
> We use web gis in a couple of situations to collect geographic information
> that is used as part of a departmental business process:
>
> 1) Tagged fish reporting:
http://www.dnr.state.mn.us/fisheries/tagged_fish_reporting/index.html
>
We use web gis in a couple of situations to collect geographic information
that is used as part of a departmental business process:
1) Tagged fish reporting. Staff created an application to capture the locations
where tagged fish were caught. That information is used to generally locate
the catch
Is there a maximum length of the query text when setting a filter
with php mapscript?
For example,
I use
$tempLayer->setfilter('contract_id IN
(26,27,1093,608,596,134,111,36,37,4599,95,59,41,42,605,117,47,105,146,13
0,123,122,5017,98,66,67,68,69,133,71,131,74,75,76,77,148,94,81,82,108,97
,
Paul,
Could you provide further information (sampe app, data, mapfile) to
reproduce the problem?
Best regards,
Tamas
2008/10/16 Paul james <[EMAIL PROTECTED]>:
> Hello guys...
> I´m using lastest MS4W mapscript compilation (5.2) ...
>
> So, I tried to use AGG output like that:
> MAP
> ...
2008/10/16 BrainDrain <[EMAIL PROTECTED]>:
> -without "WITH(INDEX..." in mapfile data section - mem corruption exception
> on "shape = layer.getFeature(featureIndexe, -1)" after successful execution
> of queryByPoint (querying the largest polygon in my geodb);
I didn't encounter any memory corrupt
[EMAIL PROTECTED] wrote:
Here is the log
[...]
[Wed Oct 08 09:00:10 2008].667000 HTTP: request failed with curl error
code 6 () for
http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:42304&WIDTH=400&BBOX=6
Hi,
It would be a great help if you could send the whole mapfile, otherwise we must
be guessing.
Still, here is my guess that is not related to mapfile but to where it is. Your
mapfile is now in d: root directory. It may well be that Apache does not have a
permission to use that. Move your map
Mark Volz wrote:
For example should I use ShpTree for shapefiles that have 100 features
or wait until there are 1,000 features in the shapefiles?
Not to sound simplistic, but it never HURTS to use it, so why not use it
every time? Only takes a second, doesn't even increase the disk usage.
--
Hello,
I am currently experimenting with the shptree utility. I notice that shptree
increases the drawing performance on shapefiles that have thousands of
features. However, I was wondering what the threshold number of features in
a shapefile is before I should use the utility. For example s
Hello guys...
I´m using lastest MS4W mapscript compilation (5.2) ...
So, I tried to use AGG output like that:
MAP
...
IMAGETYPE png
...
OUTPUTFORMAT
NAME 'AGG'
DRIVER AGG/PNG
IMAGEMODE "RGB"
END
I got I image, but in GD .. So I tried to modify the IMAGETYPE, like
If you just want to pass the feature in using a URL configuration, you wouldn't
need to use mapscript. Just have the empty layer in your map file and then
pass the feature definition in like:
&map_layer[3]=FEATURE+POINTS+-67.012+-16.952+-67.012+-17.450+END+TEXT+'A+test+line'+
Do you mean "given" as in "submitted via a web page"? In that case I think
I would use Python mapscript to add a LAYER similar to the one I sent below,
but using the form variables submitted from the web page as the POINTS
values. Take a look at the chapter on Python Mapscript in the O'Reilley We
I recently switched one of my layers from a static shapefile to an ODBC
SQL connection. The data points are correctly displayed on the map, but
when I use the "query" or "nquery" modes, I get results that don't
correspond at all to the clicked point. I tend to get the same set of
points, in various
Hello Thomas,
Thanks for your answer,
It was sure the right answer. I did try it with unique, but forgot the srid.
It works now for both query and wfs.
Strange that WMS and just type=map requests will work without these unique and
srid statements.
Thanks!
Gerben Tiemens
-Oorspronkeli
Greetings,
Many state and local Public Administrations around the world use Open
Source GIS software to present their geographic data through the
Internet. Most of those websites, however, are one-way only. The end
user can navigate through a digital map, zoom, unzoom, select layers
and so on... b
Hi Gerben, not sure if this is the reason why but I noticed that
under the layer block you set Data as ' DATA 'the_geom FROM pr2007' ',
I think you need a "USING UNIQUE" clause in there to specify
which column in the table can act as a unique identifier and maybe an
srid clause as well to sp
this should do it:
SYMBOL
NAME dash
PATTERN 3 3 END
TYPE SIMPLE
END
STYLE
COLOR 0 0 0
WIDTH 1
END
STYLE
SYMBOL dash
WIDTH 1
COLOR 0 0 0
OFFSET 3 -99
END
--
thomas
2008/10/16 Paul james <[EMAIL PROTECTED]>:
> Thanks, but It does not help me in that case...
>
>
> 2008/10/16 Léveillé, James
See http://mapserver.gis.umn.edu/docs/howto/cartosymbols
__
JAMES LÉVEILLÉ
Service des systèmes de Mission
Direction des technologies de l'information
Ministère des Transports du Québec
5833, boul. Pierre-Bertrand, 2ième étage
Québec (Québe
Thanks, but It does not help me in that case...
2008/10/16 Léveillé, James <[EMAIL PROTECTED]>
> See http://mapserver.gis.umn.edu/docs/howto/cartosymbols
>
>
>
> __
>
> *JAMES LÉVEILLÉ
> *Service des systèmes de Mission
> Direction des technol
Hello guys...
How can I do that symbol :
___
- - - - - - - - - -
Thanks
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Hi,
which version of mapserver are you using ?
In the actual version, and as expected from the specifications, some
parameters are mandatory such as :
width, height
srs
styles
version
request
But maybe I am wrong and the mode=map is doing something else..
Hope it helps !!
Benoît Andrieu
--
Hello List,
I want to try to get certain features-attribute information back from my
postgis database via Mapserver.
I tried this in 2 ways:
Enabeling WFS in the mapfile and making a query layer.
Both requests generate errors on the Postgis Database and i can't discover
what is going wrong.
Th
Is it a WMS layer? Maybe your problem is similar as mine...and I didn't
find a solution yet.
Steve
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
ok
Now without mixing your package contens with older (ms4w_2.3.0 release)
dll's:
(I've attach my test database backup
http://www.nabble.com/file/p20008430/geodb.zip geodb.zip )
-without "WITH(INDEX..." in mapfile data section - mem corruption exception
on "shape = layer.getFeature(featureIndexe
28 matches
Mail list logo