Hello All,
I'm new to MapServer and MapScript, so I need as much info as i can get.
I did not find a way to search the mailinglists. Is this because i missed is or
isn't there any?
As an alternative i tried the 'downloadable version of the mailinglist, but
when untarred the file, the *.txt was
Hi Ad,
I can confirm something is wrong with the text.gz archives.
I'd suggest using plain old Google with a site keyword, something like:
site:lists.osgeo.org/pipermail wfs problem
Hope this helps.
Best regards,
Bart
Hello All,
I'm new to MapServer and MapScript, so I need as much info
Hi list,
I would like to list from any layer ($ qlayer) only the field names of
the attribute tables and the number of objects in the table.
With this code it works already:
//loading mapfile
$map= ms_newMapObj($mapfilepath.'\
demo.map');
//set layer
$layer = $map-getLayerByName($qlayer);
Hi,
You want to store 3 type (point line polygon) in single table? if it
is... It is not possible.. you can not store different data types(point line
polygon). As per my knowledge.
Or
You want create 3 types in a single layer ? it is possible. This common
approach..
Under map u can have any
hi
iam using windows XP media center edition
i have executed '/ms4w/apache-uninstall.bat' in command prompt to uninstall
apache
but it is displaying error as 'httpd ' is not recognized as internal or
external command,operable program or batch file
plz tell me that
--
View this message in
thanks, works fine and fast for each layer:
$layer-open();
$myitems = $layer-getItems();
foreach($myitems as $item) {
echo $item.br;
}
$layer-close();
but how can I get the numer of records without a query?
Jo
2008/11/6 Umberto Nicoletti [EMAIL PROTECTED]:
You can use the items array
Sorry don't know that :-(
On Thu, Nov 6, 2008 at 2:32 PM, Jochen Wagner [EMAIL PROTECTED]
wrote:
thanks, works fine and fast for each layer:
$layer-open();
$myitems = $layer-getItems();
foreach($myitems as $item) {
echo $item.br;
}
$layer-close();
but how can I get the numer of
Have you tried /ms4w/apache-install.bat before trying uninstallation?
Ritesh Ambastha
On Thu, Nov 6, 2008 at 6:02 PM, lakku [EMAIL PROTECTED] wrote:
hi
iam using windows XP media center edition
i have executed '/ms4w/apache-uninstall.bat' in command prompt to uninstall
apache
but it is
Hi all,
I've been playing using ajax calls to the ms executable.
I'm using map mode and piping to a file, and returning this file ref to
update the image div, and it works fast and fine.
I would also like to update the legend, layer images, and it seems that
these are only produced in browse
Hi All,
Is it possible to make a single map file having all the three types of
layers ( point, polygon and line) and if yes how to store that in
geometry_columns table in postgresql which gives duplication error ?
--
View this message in context:
You can actually call the legend and individual layer images.
For the legends, mode=legend will help you out. For the layer images, you
could iterate through the layer name list to generate each individual image.
- Original Message
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To:
Hi list,
Is it normal that Mapserver won't draw features if it can't find a string in
the [labelitem] attribute?
I am trying to display a road network and, logically, some of the segments
in it don't have any name attached to them. In this case, there is a NULL
value in the 'name' column of my
S.Reena wrote:
Hi All,
Is it possible to make a single map file having all the three types of
layers ( point, polygon and line) and if yes how to store that in
geometry_columns table in postgresql which gives duplication error ?
Yes, all mapfiles tend to have multiple layers, I have some
What layer type, version, etc...?
On 11/6/2008 at 9:10 AM, in message [EMAIL PROTECTED], Philippe
Kruschitz [EMAIL PROTECTED] wrote:
Hi list,
Is it normal that Mapserver won't draw features if it can't find a string in
the [labelitem] attribute?
I am trying to display a road network
Hi Everyone,
I have two layers that I want to intersect: one with points, and one
with multiple polygons representing the regions of a territory.
The first approach I just tried is doing it programmatically, through Python/MS:
I first union all the region polygons, and then get the convex hull
I Have the following question, in this moment i have been working with three
layers but when i use the zoom or other tools , this operation is very slow, my
computer have a high performance
What can i do for Obtaining high performance in the map server response
Holà,
What sort of data are you displaying ? which format are them ?
regards
Guillaume
fsalas a écrit :
I Have the following question, in this moment i have been working with
three layers but when i use the zoom or other tools , this operation is
very slow, my computer have a high
If you're using a shapefile however you can do something like:
// in perl
$shapefile = new mapscript::shapefileObj('myshapefile', -1);
print $shapefile-{numshapes};
There is a getNumFeatures() method for layer objects although I don't know if
it is widely implemented.
Steve
On
Hi Steve,
We work with a *lot* of mapfiles on this project and after going through
them thoroughly, I found out that the older one still had a filter on null
values set. Therefore, replacing the null values with a string seemed to do
it I should have thought of this earlier, sorry.
Thanks
fsalas wrote:
I Have the following question, in this moment i have been working with
three layers but when i use the zoom or other tools , this operation is
very slow, my computer have a high performance
What can i do for Obtaining high performance in the map server response
There is a
Hi Jochen,
Assuming you are using Shapefiles maybe you can achieve your second goal
with the base module of PHP
http://de3.php.net/manual/de/function.dbase-numrecords.php
HTH
Nicol
Am Donnerstag, den 06.11.2008, 12:10 +0100 schrieb Jochen Wagner:
Hi list,
I would like to list from any layer
I Have the following question, in this moment i have been working with three
layers but when i use the zoom or other tools , this operation is very slow, my
computer have a high performance
What can i do for Obtaining high performance in the map server response
I have been working with
You could try a feature query in MapServer/MapScript. First step is to do a
query that
selects the polygons (probably by attribute) and then do a queryByFeatures()
query
on the point layer. The result would be a set of points that are contained in
your
polygon features. Be sure to set the
Stephen,
I Attached the map file
I working with postgres/postgis with mapserver 5.2.0
best regards
Francisco Salas
- Original Message -
From: Stephen Woodbridge [EMAIL PROTECTED]
To: fsalas [EMAIL PROTECTED]
Cc: mapserver mapserver-users@lists.osgeo.org
Sent: Thursday, November 06,
Do you have spatial index on all you geometry columns
create index table_gidx on table using gist(the_geom);
do this for each table and replace table wit the table name.
then do:
vacuum analyze;
If you are zoomed all the way out and displaying all the data, then this
is the worse case and it
lakku wrote:
hi
iam using windows XP media center edition
i have executed '/ms4w/apache-uninstall.bat' in command prompt to uninstall
apache
but it is displaying error as 'httpd ' is not recognized as internal or
external command,operable program or batch file
plz tell me that
You can also
Dear All
I am trying to use mercator projection in my mapfile.
Also I am using a raster image along with my shp data
At first level it does not show the raster image
But when it does it hides the labels on map.
u can see this link
http://mapxl.com/interactive-maps/world-map11.php
I am confused
Kusum wrote:
Dear All
I am trying to use mercator projection in my mapfile.
Also I am using a raster image along with my shp data
At first level it does not show the raster image
But when it does it hides the labels on map.
u can see this link
Good Morning...
I try to find a substitution string to get the current mode of the map
and i can't find it.
There is some way to know what is the mode?
Thanks
--
Rui Gomes
___
mapserver-users mailing list
Where exactly shoud we define the projection
at the top of mapfile or with each layer
I am trying to use
'init=epsg:54004'
but its not changing the data projection
if I use proj=merc
only the projection of raster image changes and not the other data layers.
Any suggestions please
Kusum
Kusum wrote:
Where exactly shoud we define the projection
at the top of mapfile or with each layer
I am trying to use
'init=epsg:54004'
but its not changing the data projection
if I use proj=merc
only the projection of raster image changes and not the other data layers.
Any suggestions
31 matches
Mail list logo