Re: [ZMapServer-Developers] Render a .map with PCL 0.7 / ZCO 0.4
Status: Alpha
Brought to you by:
sgillies
|
From: Sean G. <sgi...@fr...> - 2005-04-13 17:57:47
|
It is not currently possible to load a mapserver map file into ZCO. I=20= have some ideas on how it can be done, but I have no immediate plans to=20= do anything about it until I have a customer that really needs this=20 feature. Sean On Apr 12, 2005, at 9:34 AM, S=E9bastien Didelet wrote: > Sean, > > Excuse me to disturbing you, but I'm not sure to understand. If I=20 > have a .map file to render, I won't be able to do it with ZCO ? I have=20= > to develop a zope module to allow end user to add there .map file to=20= > this module. If I cannot, I will do it using zmapserver. > > Cheers, > Seb > > On Apr 12, 2005 5:05 PM, Sean Gillies <sgi...@fr...> wrote: > Seb, > > ZCO doesn't use MapServer map files.=A0=A0Please read the ZCO user = manual > that you can find from a link on this page: > http://zmapserver.sourceforge.net/ > > Sean > > On Apr 12, 2005, at 8:57 AM, S=E9bastien Didelet wrote: > > > Sean, > > > >=A0=A0How can I render a .map file ? I don't understand what I have = to do > > ... Is there any ZCO documentation ? > >=A0=A0An other question ... Do you know where can I find .map files ? > > > >=A0=A0Seb > > > > On Apr 12, 2005 4:35 PM, Sean Gillies <sgi...@fr...> wrote: > > Seb, > > > > You can not use a MapServer map file like this with ZCO.=A0=A0ZCO = Data > > Stores must point to shapefiles, raster images, or WMS services. > > > > Sean > > > > On Apr 12, 2005, at 8:27 AM, S=E9bastien Didelet wrote: > > > > > Sean, > > > > > >=A0=A0I've already installed the ZCO demo, I see all the layers. I = tried > > to > > > add the itasca.map file to the ZCO demo without any succes. > > > > > >=A0=A0I add itasca.map file to the mapserver test directory (where = other > > > layers are), > > >=A0=A0I added a ZCO Data Store called "map" in the data directory = with=20 > the > > > following property : > > >=A0=A0=A0=A0- path =3D itasca.map > > >=A0=A0I created a ZCO layer called "testMap" in the layers = directory=20 > with > > > the following properties : > > >=A0=A0=A0=A0- geometrytype =3D RASTER > > >=A0=A0=A0=A0- srs =3D EPSG:4326 > > >=A0=A0=A0=A0- datastore =3D ../../data/map > > >=A0=A0I changed the index_html file to add my layer "testMap" to = the > > > layers_path constant. > > > > > >=A0=A0I surely done a mistake but I don't know where ... I have no=20= > script > > > error ... > > > > > >=A0=A0cheers, > > >=A0=A0Seb > > > > > > On Apr 12, 2005 3:21 PM, Sean Gillies <sgi...@fr...> wrote: > > > On Apr 12, 2005, at 2:04 AM, S=E9bastien Didelet wrote: > > > > > > > Hi everyone, > > > > > > > >=A0=A0I would like to render a .map file using PCL 0.7 and ZCO = 0.4, I > > > don't > > > > know how can I do ... maybe with the IMapRenderer ... could you > > send > > > > me an example ? > > > > > > > >=A0=A0thank you, > > > >=A0=A0Seb > > > > > > > > > > Use the ZCO.MapRenderer.MapRenderer class.=A0=A0The best example = is in > > the > > > ZCO demo application.=A0=A0Import ZCO/demo/demo.zexp into your = Zope > > > instance and look at the Python Script named demo/getmap.=A0=A0It = shows > > an > > > example of using a map renderer. > > > > > > cheers, > > > Sean > > > > > > -- > > > Sean Gillies > > > sgillies at frii dot com > > > http://users.frii.com/sgillies > > > > > > > > > |