[Geomoose-users] Saving lines and points, mapext and mapsize missing?

Fischer, Brian bfischer at houstoneng.com
Thu Apr 2 16:43:56 EDT 2009


Matej,

You might want to hold off 2 weeks, until we get GM 2.0 released.  GM
2.0 has the functionality you are looking for and I have it working for
a client now on a point layer.

Just a thought,
-Brian

-----Original Message-----
From: Matej [mailto:matej at matnet.net] 
Sent: Thursday, April 02, 2009 5:50 AM
To: Geomoose-users at lists.sourceforge.net
Subject: [Geomoose-users] Saving lines and points,mapext and mapsize
missing?

Hi,

I would like to have a simple method of saving lines and points that
users 
drew into a shp of any other format on the server. It doesn't matter if 
every object is in a new file (for now, after that my plans are to add
every 
object into a PostGIS database) so I guess it should be a pretty simple 
solution.

When I looked at the createDrawing.php call and its' response in the 
Firebug, I saw this part of the created mapbook:
"renderWKT.php?mapext=%EXTENTS%&mapsize=%SIZE%&title
=blablabla&linewidth=10&linecolor=255 0 0&fillcolor=0 255 
0&symbol=circle&wkt=POINT......"

Is it normal that extents and mapsize are missing? When I open the
renderWKT 
with those parameters directly, I get
Fatal error: [MapServer Error]: setExtent(): Given map extent is
invalid. 
Check that it is in the form: minx, miny, maxx, maxy in 
/path_to_gm/php/renderWKT.php on line 47. What should I change to get
those 
two values inside a call?

The second part of the question is: what would be the best option to
save 
points and lines - maybe Dan Little, whose code is that for drawing in 
Geomoose?

Thanks a lot,
Matej 


------------------------------------------------------------------------
------
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geomoose-users




More information about the Geomoose-users mailing list