<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19088">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Garamond>Just FYI - We ended up with the same issue, so we 
created a&nbsp;trigger in postgres to update another&nbsp;geometry field in 4326 
automatically when you add a line in 900913.&nbsp; It works pretty smooth and we 
still have our data stored in 4326 for staff download.</FONT></DIV>
<DIV><FONT face=Garamond>Dara</FONT>&nbsp;</DIV>
<DIV><FONT face=Garamond></FONT>&nbsp;</DIV>
<DIV><FONT face=Garamond>----</FONT><BR>Message: 4<BR>Date: Tue, 12 Jul 2011 
17:07:38 -0600<BR>From: Brent Fraser &lt;<A 
href="mailto:bfraser@geoanalytic.com">bfraser@geoanalytic.com</A>&gt;<BR>Subject: 
Re: [Geomoose-users] How to add a new line to postgis db in<BR>degrees?<BR>To: 
pinchitirabassi &lt;<A 
href="mailto:pinchitirabassi@gmail.com">pinchitirabassi@gmail.com</A>&gt;<BR>Cc: 
<A 
href="mailto:geomoose-users@lists.sourceforge.net">geomoose-users@lists.sourceforge.net</A><BR>Message-ID: 
&lt;<A 
href="mailto:4E1CD3BA.9020205@geoanalytic.com">4E1CD3BA.9020205@geoanalytic.com</A>&gt;<BR>Content-Type: 
text/plain; charset=ISO-8859-1; format=flowed<BR><BR>Pinchi,<BR><BR>&nbsp;&nbsp; 
The problem is that GeoMoose is set up to deal with coordinates in <BR>the 
Display Coordinate System (900913 in your case).&nbsp; That's what the 
<BR>JavaScript passes to the editor.php, and that's what the PHP inserts 
<BR>into the PostGIS database.&nbsp; I'd recommend storing the data in PostGIS 
in <BR>900913, otherwise you'll have to edit the editor.php to use 
<BR>"ST_Transform" prior to inserting into the database.<BR><BR>Best 
Regards,<BR>Brent Fraser<BR><BR><BR>On 7/12/2011 4:16 PM, pinchitirabassi 
wrote:<BR>&gt; Hi, I've set up geomoose and I followed the instructions on the 
website. I<BR>&gt; created a tool to add lines, and they are added to the 
database, but I have<BR>&gt; a database with information in the EPSG:4326 SRID, 
and the insertion is made<BR>&gt; in meters. I need to configure it so as to 
insert linestrings in degrees.<BR>&gt;<BR>&gt; So far, I have changed some lines 
in the mapbook:<BR>&gt;<BR>&gt; EPSG:4326<BR>&gt; dd<BR>&gt;<BR>&gt; But this 
didn't do anything.<BR>&gt;<BR>&gt; I set a wms map-source and it works 
perfectly:<BR>&gt;<BR>&gt; &lt;map-source name="street_editor" type="wms" 
tiled="true"<BR>&gt; 
projection='EPSG:900913'&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;url&gt;http://localhost/cgi-bin/mapserv&lt;/url&gt;<BR>&gt;<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;layer name="streets"/&gt;<BR>&gt;&nbsp;&nbsp;&nbsp; 
&lt;/map-source&gt;<BR>&gt;<BR>&gt; I don't know if it has something to do with 
the problem.<BR>&gt;<BR>&gt; Hope you can help.<BR>&gt;<BR>&gt; 
Pinchi</DIV></BODY></HTML>