[OpenLayers-Users] combine 2 different projections map data

Aypes2 apestgas2 at yahoo.com.hk
Tue Jan 12 19:50:05 EST 2010


Hi all, 

I think I have solved the problem. The broken line may be due to the use of
"gutter" in OL app. Without using it, the no. of broken lines on the map are
greatly reduced but some labels are "broken". Now I work on the scale ratio
problem. 
Thanks all.

Aypes2


Aypes2 wrote:
> 
> Forgot to say something. Now the overlay is loaded from database (not CAD
> file). The problem appears with using postgis and oracle (same set of
> data).
> 
> Aypes2 wrote:
>> 
>> Hi all,
>> 
>> Thanks for your answers.
>> 
>> I can make an overlay to display over Google Map. 
>> In Map file, I put "wms_srs"  "EPSG:2326" in WEB METADATA,
>> "init=epsg:2326" in overall projection, and also "init=epsg:2326" in the
>> overlay.
>> In OP app, I use the MaxExtent in LonLat to show the layers.
>> 
>> However, some problems are appeared. The overlay has broken lines and
>> even display offset (which should be one line only) in certain zoom
>> level. Also the overlay has a little bit wrong in position. 
>> But when I use Quantum GIS to check the overlay, there is no broken line.
>> 
>> I have projected my overlay to get the LonLat using EPSG2326, but how can
>> I reproject it using epsg:900913 once more? With Proj4js, I just know how
>> to transform one point but not a layer.
>> 
>> Thanks,
>> Aypes2
>> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/combine-2-different-projections-map-data-tp4264776p4295631.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list