|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Trs: cannot render imagehi, i just not understand why the map cannot render this is my mapfile name "b" SIZE 600 500 UNITS DD IMAGETYPE JPEG IMAGECOLOR 255 255 255 SHAPEPATH "C:/ms4w/home/mapdata/" EXTENT -77.119900 38.791513 -76.909396 38.995109 STATUS ON # # Start of web interface definition # WEB TEMPLATE '/ms4w/apache/htdocs/b.html' IMAGEPATH '/ms4w/tmp/ms_tmp/' IMAGEURL '/ms_tmp/' END # WEB Section # # Start of Layer definition # LAYER NAME county TYPE polygon STATUS ON CONNECTIONTYPE OGR CONNECTION "c:/ms4w/home/mapdata/county.TAB" CLASS NAME "county" STYLE COLOR 254 222 212 OUTLINECOLOR 0 0 0 END END # Class section END # LAYER Section END # MapFile ------and this is my html-------------------------------------------- <html> <head> <title>MapServer First Map</title></head> <body> <form method=POST action="/cgi-bin/mapserv.exe?"> <input type="submit" value="Click Me"> <input type="hidden" name="map" value="C:/ms4w/home/mapdata/b.map&layers=all&mode=map"> <input type="hidden" name="map_web" value="imagepath /ms4w/tmp/ms_tmp/"> </form> <IMG SRC="[img]" width=600 height=500 border=0> </body> </html> ------------------------------------------------------------------------- output just white colour on the image box? thank you start: 2009-06-05 end: 0000-00-00 Lebih Bersih, Lebih Baik, Lebih Cepat - Rasakan Yahoo! Mail baru yang Lebih Cepat hari ini! start: 0000-00-00 end: 0000-00-00 Terhubung langsung dengan banyak teman di blog dan situs pribadi Anda? Buat Pingbox terbaru Anda sekarang! _______________________________________________ MS4W-Users mailing list MS4W-Users@... http://lists.maptools.org/mailman/listinfo/ms4w-users |
|
|
Re: Trs: cannot render imageRangga Negara wrote:
> hi, i just not understand why the map cannot render > this is my mapfile > > name "b" > SIZE 600 500 > UNITS DD > IMAGETYPE JPEG > IMAGECOLOR 255 255 255 > SHAPEPATH "C:/ms4w/home/mapdata/" > EXTENT -77.119900 38.791513 -76.909396 38.995109 > STATUS ON > > # > # Start of web interface definition > # > > WEB > TEMPLATE '/ms4w/apache/htdocs/b.html' > IMAGEPATH '/ms4w/tmp/ms_tmp/' > IMAGEURL '/ms_tmp/' > END # WEB Section > > # > # Start of Layer definition > # > LAYER > NAME county > TYPE polygon > STATUS ON > CONNECTIONTYPE OGR > CONNECTION "c:/ms4w/home/mapdata/county.TAB" > CLASS > NAME "county" > STYLE > COLOR 254 222 212 > OUTLINECOLOR 0 0 0 > END > END # Class section > END # LAYER Section > > END # MapFile > > > ------and this is my html-------------------------------------------- > <html> > <head> <title>MapServer First Map</title></head> > <body> > <form method=POST action="/cgi-bin/mapserv.exe?"> > <input type="submit" value="Click Me"> > <input type="hidden" name="map" > value="C:/ms4w/home/mapdata/b.map&layers=all&mode=map"> > <input type="hidden" name="map_web" > value="imagepath /ms4w/tmp/ms_tmp/"> > </form> > <IMG SRC="[img]" width=600 height=500 border=0> > </body> > </html> > ------------------------------------------------------------------------- > > output just white colour on the image box? Hello, Here are my thoughts: - use the ogrinfo commandline utility to get the extents of the TAB file (also included in MS4W) - use the extents from ogrinfo in the EXTENT parameter of your mapfile - test your mapfile using the shp2img commandline utility (http://www.mapserver.org/utilities/shp2img.html), which is included in MS4W -jeff -- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ _______________________________________________ MS4W-Users mailing list MS4W-Users@... http://lists.maptools.org/mailman/listinfo/ms4w-users |
|
|
Bls: Trs: cannot render imagei already with shp2img and i got the picture, but still in browser just white colour it the image box Dari: Jeff McKenna <jmckenna@...> Kepada: ms4w-users@... Terkirim: Rabu, 2 September, 2009 20:29:27 Judul: Re: [MS4W-Users] Trs: cannot render image Rangga Negara wrote: > hi, i just not understand why the map cannot render > this is my mapfile > > name "b" > SIZE 600 500 > UNITS DD > IMAGETYPE JPEG > IMAGECOLOR 255 255 255 > SHAPEPATH "C:/ms4w/home/mapdata/" > EXTENT -77.119900 38.791513 -76.909396 38.995109 > STATUS ON > > # > # Start of web interface definition > # > > WEB > TEMPLATE '/ms4w/apache/htdocs/b.html' > IMAGEPATH '/ms4w/tmp/ms_tmp/' > IMAGEURL '/ms_tmp/' > END # WEB Section > > # > # Start of Layer definition > # > LAYER > NAME county > TYPE polygon > STATUS ON > CONNECTIONTYPE OGR > CONNECTION "c:/ms4w/home/mapdata/county.TAB" > CLASS > NAME "county" > STYLE > COLOR 254 222 212 > OUTLINECOLOR 0 0 0 > END > END # Class section > END # LAYER Section > > END # MapFile > > > ------and this is my html-------------------------------------------- > <html> > <head> <title>MapServer First Map</title></head> > <body> > <form method=POST action="/cgi-bin/mapserv.exe?"> > <input type="submit" value="Click Me"> > <input type="hidden" name="map" > value="C:/ms4w/home/mapdata/b.map&layers=all&mode=map"> > <input type="hidden" name="map_web" > value="imagepath /ms4w/tmp/ms_tmp/"> > </form> > <IMG SRC="[img]" width=600 height=500 border=0> > </body> > </html> > ------------------------------------------------------------------------- > > output just white colour on the image box? Hello, Here are my thoughts: - use the ogrinfo commandline utility to get the extents of the TAB file (also included in MS4W) - use the extents from ogrinfo in the EXTENT parameter of your mapfile - test your mapfile using the shp2img commandline utility (http://www.mapserver.org/utilities/shp2img.html), which is included in MS4W -jeff -- Jeff McKenna FOSS4G Consulting and Training Services http://www.gatewaygeomatics.com/ _______________________________________________ MS4W-Users mailing list MS4W-Users@... http://lists.maptools.org/mailman/listinfo/ms4w-users Coba Yahoo! Messenger 9.0 baru Akhirnya datang juga! _______________________________________________ MS4W-Users mailing list MS4W-Users@... http://lists.maptools.org/mailman/listinfo/ms4w-users |
|
|
Re: Bls: Trs: cannot render imageTRY to write with a smaller text Please!
And try to comment (add "#" character) at the start of the "IMAGECOLOR 255 255 255" line 2009/9/2 Rangga Negara <rkn2003@...>
-- Martinez Morata David Thinking GIS _______________________________________________ MS4W-Users mailing list MS4W-Users@... http://lists.maptools.org/mailman/listinfo/ms4w-users |
|
|
Bls: Bls: Trs: cannot render imageoh sorry about text, but still nothing change Dari: David Martinez Morata <damarmo@...>vdsvfefe Kepada: Rangga Negara <rkn2003@...> Cc: Jeff McKenna <jmckenna@...>; ms4w-users@... Terkirim: Rabu, 2 September, 2009 21:34:55 Judul: Re: [MS4W-Users] Bls: Trs: cannot render image TRY to write with a smaller text Please! And try to comment (add "#" character) at the start of the "IMAGECOLOR 255 255 255" line 2009/9/2 Rangga Negara <rkn2003@...>
-- Martinez Morata David Thinking GIS Selalu bersama teman-teman di Yahoo! Messenger Tambahkan mereka dari email atau jaringan sosial Anda sekarang! _______________________________________________ MS4W-Users mailing list MS4W-Users@... http://lists.maptools.org/mailman/listinfo/ms4w-users |
|
|
Re: Bls: Bls: Trs: cannot render imageHi, A couple of thoughts:- 1.
Try changing the layer status from ON to DEFAULT (STATUS DEFAULT).
Does it make a diffrerence? 2.
What happens if you run the following directly from your
browser: http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&layers=all&mode=map Or http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&layers=county&mode=map Or http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&mode=map
(this will only apply if you set the layer status to DEFAULT) Pano From: ms4w-users-bounces@...
[mailto:ms4w-users-bounces@...] On Behalf Of Rangga
Negara oh
sorry about text, but still nothing change Dari: David Martinez
Morata <damarmo@...>vdsvfefe 2009/9/2 Rangga Negara <rkn2003@...> i
already with shp2img and i got the picture, Dari: Jeff McKenna <jmckenna@...>
Selalu
bersama teman-teman di Yahoo! Messenger _______________________________________________ MS4W-Users mailing list MS4W-Users@... http://lists.maptools.org/mailman/listinfo/ms4w-users |
|
|
Bls: Bls: Bls: Trs: cannot render imageHI, thaks for mr. Pano , it work. and can you explain why this happen ? and for all i very appreciate for your attention and helping me. thank all Dari: Pano Voudouris <pvoudouris@...> Kepada: ms4w-users@... Terkirim: Kamis, 3 September, 2009 14:34:00 Judul: Re: [MS4W-Users] Bls: Bls: Trs: cannot render image Hi, A couple of thoughts:- 1. Try changing the layer status from ON to DEFAULT (STATUS DEFAULT). Does it make a diffrerence? 2. What happens if you run the following directly from your browser: http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&layers=all&mode=map Or http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&layers=county&mode=map Or http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&mode=map (this will only apply if you set the layer status to DEFAULT)
Pano
From: ms4w-users-bounces@...
[mailto:ms4w-users-bounces@...] On Behalf Of Rangga
Negara
oh
sorry about text, but still nothing change Dari: David Martinez
Morata <damarmo@...>vdsvfefe 2009/9/2 Rangga Negara <rkn2003@...> i
already with shp2img and i got the picture,
Dari: Jeff McKenna <jmckenna@...>
Selalu
bersama teman-teman di Yahoo! Messenger Berselancar lebih cepat. Internet Explorer 8 yang dioptimalkan untuk Yahoo! otomatis membuka 2 halaman favorit Anda setiap kali Anda membuka browser.Dapatkan IE8 di sini! (Gratis) _______________________________________________ MS4W-Users mailing list MS4W-Users@... http://lists.maptools.org/mailman/listinfo/ms4w-users |
| Free embeddable forum powered by Nabble | Forum Help |