polygons not always filling

Stephen Lime steve.lime at dnr.state.mn.us
Tue Sep 26 17:45:06 EDT 2000


For whatever reason I didn't recieve this message from the list, thanks to
Larry for forwarding it.

Items 1 and 2 should be fixed in the next release. That release date is dragging
out cause of all the changes that have been trickling in recently. Soon, though,
very soon.

The large polygon issue is another matter. You report and another I've recieved
lead me to believe there may be a memory leak someplace. Anyone got Purify or
the equivalent? I've not been able to reproduce it here though. Any data that can
be shared in order to re-create the problem would be appreciated.

As for error templates, these already exist. The parameter names are ERROR and
EMPTY. I just added them to the mapfile documentation, see the web object section.

On the reference stuff, I haven't touched this. The best option would be to add a thickness
parameter. Although easy to do there are 5 files that would need changing:

 map.h
 mapfile.h
 mapfile.c
 mapraster.c (in the CVS this is where the msDrawReference... lives)
 maplexer.l

I'll add this if I've got time before the next release. If you want real control you need to move
to using a second mapfile (i.e. mapserver interface) for reference maps. That way you can
use a box at some scales and a point (eg. star) at others. That's what I've been doing more
and more recently. Works nice.

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> John Hockaday <johnh at erin.gov.au> 09/25/00 09:52PM >>>
Hi,

This is probably just for Steve Lime but I'll send it to this list just
in case someone else knows the answers.

I using MapServer Version 3.3.011 compiled for "-FreeType -TIFF -EPPL7
-JPEG -SDE" using Solaris 2.7.  I have been able to build up the map
file, template and query templates with wonderful results.  I have
found the development of interfaces very easy with the templates
and map files.  The examples at URL:
http://arachnid.dnr.state.mn.us/ms_test/index.html are an absolute
necessity.

I have some lacking functionality with the SDE layers which I believe
will be fixed soon?  They are:

1. I can't perform annotation with the SDE layers.  An error
message is produced telling me that that is not yet available.

2. When I produce a QUERYMAP the SDE layers are not drawn.

3. Layers with multiple, complicated polygons sometimes seem to
have the polygons cut off.  (I'm not sure if other people are
aware of this.)

I was also wondering if there was an ERRORTEMPLATE, or something like
that, in the map file that allows me to produce a more friendly HTML
message if a user doesn't select a querable point during a query.
Mapserv currently returns an

"msQueryUsingPoint(): Search returned no results.  No matching
record(s) found."

error.  I would like it to report something like, "Please go back to
the map interface and click on a point ... etc.".  It already has
HEADER and FOOTER in the LAYER object as well as a TEMPLATE in the
QUERY object so an ERRORTEMPLATE would compliment the functionality.

I would also like to make the thickness of the OUTLINECOLOR element of
the reference box, in the REFERENCE object, a little thicker so that it
can be more easily seen when the area of interest is very small on the
reference map.  I would probably have to edit the C code to do this
myself so I was wondering if someone could give me some line numbers or
keywords to search for so that I can make these changes.  Unless, hope
hope hope, someone has already made these changes?

Thanks in advance for all your help.


Johnh
>>>>>>>>>>>>>>>>>>>>>>>>>>







More information about the mapserver-users mailing list