|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
MS4W 3.0 beta7 available for testing and feedbackMS4W 3.0 beta7 is available for testing:
http://www.maptools.org/dl/ms4w/ms4w_3.0_beta7.zip (35MB) A lot of changes are to occur in this release, so I ask that everyone gives this a try, and if you find any problems please file a bug in the the bug tracker, noting the beta5 version in your summary (login or create an account at: http://bugzilla.maptools.org/query.cgi?GoAheadAndLogIn=1). Here is the log of the changes: BETA7 ===== - added mbstring and gettext libraries to PHP, required for Mapbender package (ticket 2086) - modified Python MapScript filenames in README_INSTALL (ticket 2087) BETA6 ===== - modified Python GDAL module name for Python 2.6 (ticket 2007) - added Python GDAL note in README_INSTALL (ticket 2007) BETA5 ===== - upgraded MapServer and MapScript to 5.4.2 release - upgraded PHP to 5.3.0 (ticket 2075) - rebuilt PHP with dbase support (ticket 2077) - modified Curl certificates bundle (ticket 1762) - modified php.ini settings for ka-Map package (ticket 2049) - added SDE note in README_INSTALL (ticket 2076) BETA4 ===== - added notes for FastCGI with Oracle in README_INSTALL.html (ticket 2074) - added Curl certificates bundle (ticket 1762) - rebuilt SDE MapServer plugins (ticket 2072) - removed DEM Utilities (ticket 2070) BETA3 ===== - upgraded MapServer and MapScript to 5.4.1 release - upgraded GDAL to svn-06232009 - upgraded to geos 3.1-branch svn-06232009 (bug 2044) - upgraded to Oracle 11g support for GDAL and MapServer - rebuilt SDE plugins for beta release BETA2 ===== - use Apache binaries from ApacheLounge (bug 2039) BETA1 ===== - upgraded MapServer and MapScript to 5.4.0 release - upgraded GDAL to svn-04272009 (bug 1977) - upgraded Apache to 2.2.11 (bug 2008) - upgraded PHP to 5.3.0-rc2 (bug 1976) - built all dependencies with MSVC 2008 compiler - upgraded to png 1.2.35 support for GDAL and MapServer (bug#1625) - upgraded to tiff-cvs-04152009 support for GDAL - upgraded to geotiff 1.2.5 support for GDAL - upgraded to xerces 3.0.1 support for GDAL - upgraded to hdf5 1.8.2 support for GDAL - upgraded to mrsid SDK 7.0.0.2181 support for GDAL - upgraded to postgresql 8.3.7 support for GDAL and MapServer - upgraded to mysql 5.1.34 support for GDAL - upgraded to fits 3.14 support for GDAL - upgraded to proj svn-04222009 support for GDAL and MapServer (bug#2018) - added openssql 0.9.8k support to libcurl build for GDAL and MapServer (bug#1762) - upgraded to libcurl 7.19.4 support for GDAL and MapServer (bug#1762) - upgraded to geos 3.1.0 support for GDAL and MapServer (bug#2025) - upgraded to swig 1.3.39 support for GDAL and MapServer - upgraded to python 2.6.2 support for GDAL and MapServer - upgraded to freetype 2.3.9 support for MapServer - upgraded to pdflib-lite 7.0.4pl support for GDAL and MapServer - upgraded to libxml 2.7.3 support for MapServer - removed ecw support from GDAL build (bug#2037) - removed demtools because of new gdaldem utility in GDAL - upgraded to oracle 11g support for GDAL and MapServer If you have questions about one of those changes, if there is an associated bug number then please join in the discussions on that ticket in the bug tracker. For your reference, the release is being tracked here, if you would like to follow all updates: http://bugzilla.maptools.org/show_bug.cgi?id=2034 Thanks. -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 |
|
|
Re: MS4W 3.0 beta7 available for testing and feedbackJeff, I've tried this, but when I try to run apache-install.bat it says : C:\ms4w>apache-install.bat The system cannot execute the specified program. The service name is invalid. More help is available by typing NET HELPMSG 2185. I'm upgrading from ms4w_2.3.1.zip. And follow as instructed on install note. Please Help ! Regards, Sulchan |
|
|
Re: [ms4w-users] MS4W 3.0 beta7 available for testing and feedbackMSulchan Darmawan wrote:
> > Jeff McKenna wrote: >> MS4W 3.0 beta7 is available for testing: >> http://www.maptools.org/dl/ms4w/ms4w_3.0_beta7.zip (35MB) >> > > Jeff, I've tried this, but when I try to run apache-install.bat it says : > > C:\ms4w>apache-install.bat > The system cannot execute the specified program. > The service name is invalid. > > More help is available by typing NET HELPMSG 2185. > > I'm upgrading from ms4w_2.3.1.zip. And follow as instructed on install note. > Please Help ! > Sulchan, Thanks for testing. When I upgrade I usually: 1) execute apache-uninstall.bat before extracting, 2) extract the new MS4W, and 3) execute apache-install.bat. What steps did you do exactly? -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 |
|
|
Re: [ms4w-users] MS4W 3.0 beta7 available for testing and feedbackPada Thu, 03 Sep 2009 08:19:33 -0300
Jeff McKenna <jmckenna@...> menulis: > Thanks for testing. When I upgrade I usually: 1) execute > apache-uninstall.bat before extracting, 2) extract the new MS4W, and > 3) execute apache-install.bat. What steps did you do exactly? I did this : 1. execute apache-uninstall.bat on c:\ms4w 2. rename c:\ms4w to c:\ms4w-old 3. extract the new ms4w to c:\ms4w 4. execute apache-install.bat on c:\ms4w and then the message came out : C:\ms4w>apache-install.bat The system cannot execute the specified program. The service name is invalid. More help is available by typing NET HELPMSG 2185. Is it just me ? FYI, I run windows XP on VirtualBox. -- Cheers, [-Sulchan-] Send instant messages to your online friends http://asia.messenger.yahoo.com _______________________________________________ MS4W-Users mailing list MS4W-Users@... http://lists.maptools.org/mailman/listinfo/ms4w-users |
|
|
Re: [ms4w-users] MS4W 3.0 beta7 available for testing and feedbackMSulchan Darmawan wrote:
> Pada Thu, 03 Sep 2009 08:19:33 -0300 > > I did this : > > 1. execute apache-uninstall.bat on c:\ms4w > 2. rename c:\ms4w to c:\ms4w-old > 3. extract the new ms4w to c:\ms4w > 4. execute apache-install.bat on c:\ms4w > > and then the message came out : > > C:\ms4w>apache-install.bat > The system cannot execute the specified program. > The service name is invalid. > > More help is available by typing NET HELPMSG 2185. > > Is it just me ? FYI, I run windows XP on VirtualBox. > My guess is that your machine doesn't have the "Microsoft Visual C++ 2008 Redistributable Package" runtimes installed on it. Try this and let me know what works: - before executing apache-install.bat, execute setenv.bat (this should load the msvc*.dlls into your path, which are located in /ms4w/apache/cgi-bin) and then retry apache-install.bat - if all else fails, you can download the runtimes installer from http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en Let me know if either method works...and I will update MS4W's readme accordingly, with your results. -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 |
|
|
Re: [ms4w-users] MS4W 3.0 beta7 available for testing and feedbackMSulchan Darmawan wrote:
> I did this : > > 1. execute apache-uninstall.bat on c:\ms4w > 2. rename c:\ms4w to c:\ms4w-old > 3. extract the new ms4w to c:\ms4w > 4. execute apache-install.bat on c:\ms4w > > and then the message came out : > > C:\ms4w>apache-install.bat > The system cannot execute the specified program. > The service name is invalid. > > More help is available by typing NET HELPMSG 2185. > > Is it just me ? FYI, I run windows XP on VirtualBox. > I've done more testing on an XP virtual machine that does not have the Redistributable Package installed and I can replicate your error. Install this package and the error goes away: http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en This will be added to the README for the next release, and you can add yourself to the ticket and comment/follow: http://bugzilla.maptools.org/show_bug.cgi?id=2093 Thanks for the feedback. -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: [ms4w-users] MS4W 3.0 beta7 available for testing and feedbackhi everyone, i came with problem again, this is message mapserv(): Web application error. Traditional BROWSE mode requires a TEMPLATE in the WEB section, but none was provided and this is my first.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/apache/htdocs/trial/peta_tab/a/view1.map"> <input type="hidden" name="map_web" value="imagepath /ms4w/tmp/ms_tmp/"> </form> <IMG SRC="[img]" width=700 height=300 border=0> </body> </html> --------------------------------------------------------------------------------------------------------------------------------------------------------- and this is my mapfile , i created using gix export tool ============================================================================ # MapFile created with Gix Export Tool - Sun Sep 13 10:21:53 2009 # http://gix.sourceforge.net # View Date : Sunday, September 13, 2009 10:00:10 AM # MAP NAME 'View1' SIZE 550 400 EXTENT 107.53919303 -6.97557135 107.74596325 -6.83490165 UNITS dd RESOLUTION 72 CONFIG PROJ_LIB 'C:/Proj/' DATAPATTERN '' TEMPLATEPATTERN '' SHAPEPATH 'c:\ms4w\apache\htdocs\trial\peta_tab\a\' SYMBOLSET 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.sym' FONTSET 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.fnt' STATUS on IMAGECOLOR 255 255 255 IMAGETYPE png24 STATUS on DEBUG false WEB MINSCALE 0 IMAGEPATH '' IMAGEURL '' LOG 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.log' METADATA END #METADATA END #WEB REFERENCE IMAGE 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.jpg' EXTENT 107.53919303 -6.97557135 107.74596325 -6.83490165 STATUS on COLOR -1 -1 -1 OUTLINECOLOR 255 255 0 SIZE 110 120 #MARKER #MARKERSIZE #MINBOXSIZE #MAXBOXSIZE END #REFERENCE LEGEND IMAGECOLOR 255 255 255 OUTLINECOLOR -1 -1 -1 KEYSIZE 18 12 KEYSPACING 2 2 POSTLABELCACHE true POSITION ll LABEL ANTIALIAS true BACKGROUNDCOLOR 255 255 255 BACKGROUNDSHADOWCOLOR -1 -1 -1 BACKGROUNDSHADOWSIZE 2 2 OUTLINECOLOR -1 -1 -1 COLOR 0 0 0 FONT 'Arial-Normal' SIZE 10 TYPE truetype END STATUS on END #LEGEND SCALEBAR BACKGROUNDCOLOR 255 255 255 COLOR 0 0 0 IMAGECOLOR 255 255 255 INTERVALS 4 LABEL COLOR 0 0 0 SIZE tiny TYPE bitmap ANTIALIAS true END OUTLINECOLOR 0 0 0 POSITION lr POSTLABELCACHE true SIZE 200 4 STATUS on STYLE 0 UNITS meters END #SCALEBAR QUERYMAP STYLE hilite STATUS on COLOR 255 255 0 END #QUERYMAP LAYER #A_region.shp TRANSPARENCY 100 NAME 'A_region.shp' METADATA gix_layername "A_region.shp" gix_layerfieldnames "NAMA_KEC|ID|DEMAND|LUAS_KM2" gix_layerfieldalias "Nama_kec|Id|Demand|Luas_km2" END #METADATA TOLERANCE 3 TOLERANCEUNITS pixels DATA 'a_region.shp' HEADER 'header.html' FOOTER 'footer.html' LABELCACHE on # TILEINDEX '' # TILEITEM '' STATUS on DEBUG false TRANSFORM true TYPE polygon CLASSITEM 'NAMA_KEC' CLASS NAME 'Andir' TEMPLATE 'template.html' EXPRESSION 'Andir' #RASTERFILL_STYLE_SOLID STYLE COLOR 192 101 73 BACKGROUNDCOLOR 255 255 255 END #STYLE END #CLASS CLASS NAME 'Arca Manik' TEMPLATE 'template.html' EXPRESSION 'Arca Manik' #RASTERFILL_STYLE_SOLID STYLE COLOR 255 215 0 BACKGROUNDCOLOR 255 255 255 END #STYLE END #CLASS CLASS NAME 'Astana Anyar' TEMPLATE 'template.html' EXPRESSION 'Astana Anyar' #RASTERFILL_STYLE_SOLID STYLE COLOR 189 183 107 BACKGROUNDCOLOR 255 255 255 END #STYLE END #CLASS END #LAYER OUTPUTFORMAT NAME png24 DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGBA EXTENSION png TRANSPARENT on END #OUTPUTFORMAT END #MAP ============================================================================ thank Yahoo! Mail Kini Lebih Cepat dan Lebih Bersih. Rasakan bedanya sekarang! _______________________________________________ MS4W-Users mailing list MS4W-Users@... http://lists.maptools.org/mailman/listinfo/ms4w-users |
|
|
Re: Bls: [ms4w-users] MS4W 3.0 beta7 available for testing and feedbackRangga Negara wrote:
> hi everyone, i came with problem again, > this is message > > mapserv(): Web application error. Traditional BROWSE mode requires a > TEMPLATE in the WEB section, but none was provided > > and this is my first.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/apache/htdocs/trial/peta_tab/a/view1.map"> > <input type="hidden" name="map_web" > value="imagepath /ms4w/tmp/ms_tmp/"> > </form> > <IMG SRC="[img]" width=700 height=300 border=0> > </body> > </html> > --------------------------------------------------------------------------------------------------------------------------------------------------------- > > and this is my mapfile , i created using gix export tool > ============================================================================ > # MapFile created with Gix Export Tool - Sun Sep 13 10:21:53 2009 > # http://gix.sourceforge.net > # View Date : Sunday, September 13, 2009 10:00:10 AM > # > MAP > NAME 'View1' > SIZE 550 400 > EXTENT 107.53919303 -6.97557135 107.74596325 -6.83490165 > UNITS dd > RESOLUTION 72 > CONFIG PROJ_LIB 'C:/Proj/' > DATAPATTERN '' > TEMPLATEPATTERN '' > SHAPEPATH 'c:\ms4w\apache\htdocs\trial\peta_tab\a\' > SYMBOLSET 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.sym' > FONTSET 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.fnt' > STATUS on > IMAGECOLOR 255 255 255 > IMAGETYPE png24 > STATUS on > DEBUG false > > WEB > MINSCALE 0 > IMAGEPATH '' > IMAGEURL '' > LOG 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.log' > METADATA > END #METADATA > END #WEB > > REFERENCE > IMAGE 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.jpg' > EXTENT 107.53919303 -6.97557135 107.74596325 -6.83490165 > STATUS on > COLOR -1 -1 -1 > OUTLINECOLOR 255 255 0 > SIZE 110 120 > #MARKER > #MARKERSIZE > #MINBOXSIZE > #MAXBOXSIZE > END #REFERENCE > > LEGEND > IMAGECOLOR 255 255 255 > OUTLINECOLOR -1 -1 -1 > KEYSIZE 18 12 > KEYSPACING 2 2 > POSTLABELCACHE true > POSITION ll > LABEL > ANTIALIAS true > BACKGROUNDCOLOR 255 255 255 > BACKGROUNDSHADOWCOLOR -1 -1 -1 > BACKGROUNDSHADOWSIZE 2 2 > OUTLINECOLOR -1 -1 -1 > COLOR 0 0 0 > FONT 'Arial-Normal' > SIZE 10 > TYPE truetype > END > STATUS on > END #LEGEND > > SCALEBAR > BACKGROUNDCOLOR 255 255 255 > COLOR 0 0 0 > IMAGECOLOR 255 255 255 > INTERVALS 4 > LABEL > COLOR 0 0 0 > SIZE tiny > TYPE bitmap > ANTIALIAS true > END > OUTLINECOLOR 0 0 0 > POSITION lr > POSTLABELCACHE true > SIZE 200 4 > STATUS on > STYLE 0 > UNITS meters > END #SCALEBAR > > QUERYMAP > STYLE hilite > STATUS on > COLOR 255 255 0 > END #QUERYMAP > > LAYER #A_region.shp > TRANSPARENCY 100 > NAME 'A_region.shp' > METADATA > gix_layername "A_region.shp" > gix_layerfieldnames "NAMA_KEC|ID|DEMAND|LUAS_KM2" > gix_layerfieldalias "Nama_kec|Id|Demand|Luas_km2" > END #METADATA > TOLERANCE 3 > TOLERANCEUNITS pixels > DATA 'a_region.shp' > HEADER 'header.html' > FOOTER 'footer.html' > LABELCACHE on > # TILEINDEX '' > # TILEITEM '' > STATUS on > DEBUG false > TRANSFORM true > TYPE polygon > CLASSITEM 'NAMA_KEC' > CLASS > NAME 'Andir' > TEMPLATE 'template.html' > EXPRESSION 'Andir' > #RASTERFILL_STYLE_SOLID > STYLE > COLOR 192 101 73 > BACKGROUNDCOLOR 255 255 255 > END #STYLE > END #CLASS > CLASS > NAME 'Arca Manik' > TEMPLATE 'template.html' > EXPRESSION 'Arca Manik' > #RASTERFILL_STYLE_SOLID > STYLE > COLOR 255 215 0 > BACKGROUNDCOLOR 255 255 255 > END #STYLE > END #CLASS > CLASS > NAME 'Astana Anyar' > TEMPLATE 'template.html' > EXPRESSION 'Astana Anyar' > #RASTERFILL_STYLE_SOLID > STYLE > COLOR 189 183 107 > BACKGROUNDCOLOR 255 255 255 > END #STYLE > END #CLASS > END #LAYER > > OUTPUTFORMAT > NAME png24 > DRIVER "GD/PNG" > MIMETYPE "image/png" > IMAGEMODE RGBA > EXTENSION png > TRANSPARENT on > END #OUTPUTFORMAT > > END #MAP Hello, You are missing a template file, which you refer to in the WEB object of your mapfile, such as: WEB ... TEMPLATE "../htdocs/viewer-template.html" ... END If you want to see this in action, download the MS4W addon package "MapServer Itasca Demo Application" from the MS4W downloads page. -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: Bls: [ms4w-users] MS4W 3.0 beta7 available for testing and feedbackah, yeah , thanks, it really work Dari: Jeff McKenna <jmckenna@...> Kepada: ms4w-users@... Terkirim: Minggu, 13 September, 2009 22:24:43 Judul: Re: [MS4W-Users] Bls: [ms4w-users] MS4W 3.0 beta7 available for testing and feedback Rangga Negara wrote: > hi everyone, i came with problem again, > this is message > > mapserv(): Web application error. Traditional BROWSE mode requires a > TEMPLATE in the WEB section, but none was provided > > and this is my first.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/apache/htdocs/trial/peta_tab/a/view1.map"> > <input type="hidden" name="map_web" > value="imagepath /ms4w/tmp/ms_tmp/"> > </form> > <IMG SRC="[img]" width=700 height=300 border=0> > </body> > </html> > --------------------------------------------------------------------------------------------------------------------------------------------------------- > > and this is my mapfile , i created using gix export tool > ============================================================================ > # MapFile created with Gix Export Tool - Sun Sep 13 10:21:53 2009 > # http://gix.sourceforge.net > # View Date : Sunday, September 13, 2009 10:00:10 AM > # > MAP > NAME 'View1' > SIZE 550 400 > EXTENT 107.53919303 -6.97557135 107.74596325 -6.83490165 > UNITS dd > RESOLUTION 72 > CONFIG PROJ_LIB 'C:/Proj/' > DATAPATTERN '' > TEMPLATEPATTERN '' > SHAPEPATH 'c:\ms4w\apache\htdocs\trial\peta_tab\a\' > SYMBOLSET 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.sym' > FONTSET 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.fnt' > STATUS on > IMAGECOLOR 255 255 255 > IMAGETYPE png24 > STATUS on > DEBUG false > > WEB > MINSCALE 0 > IMAGEPATH '' > IMAGEURL '' > LOG 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.log' > METADATA > END #METADATA > END #WEB > > REFERENCE > IMAGE 'c:\ms4w\apache\htdocs\trial\peta_tab\a\View1.jpg' > EXTENT 107.53919303 -6.97557135 107.74596325 -6.83490165 > STATUS on > COLOR -1 -1 -1 > OUTLINECOLOR 255 255 0 > SIZE 110 120 > #MARKER > #MARKERSIZE > #MINBOXSIZE > #MAXBOXSIZE > END #REFERENCE > > LEGEND > IMAGECOLOR 255 255 255 > OUTLINECOLOR -1 -1 -1 > KEYSIZE 18 12 > KEYSPACING 2 2 > POSTLABELCACHE true > POSITION ll > LABEL > ANTIALIAS true > BACKGROUNDCOLOR 255 255 255 > BACKGROUNDSHADOWCOLOR -1 -1 -1 > BACKGROUNDSHADOWSIZE 2 2 > OUTLINECOLOR -1 -1 -1 > COLOR 0 0 0 > FONT 'Arial-Normal' > SIZE 10 > TYPE truetype > END > STATUS on > END #LEGEND > > SCALEBAR > BACKGROUNDCOLOR 255 255 255 > COLOR 0 0 0 > IMAGECOLOR 255 255 255 > INTERVALS 4 > LABEL > COLOR 0 0 0 > SIZE tiny > TYPE bitmap > ANTIALIAS true > END > OUTLINECOLOR 0 0 0 > POSITION lr > POSTLABELCACHE true > SIZE 200 4 > STATUS on > STYLE 0 > UNITS meters > END #SCALEBAR > > QUERYMAP > STYLE hilite > STATUS on > COLOR 255 255 0 > END #QUERYMAP > > LAYER #A_region.shp > TRANSPARENCY 100 > NAME 'A_region.shp' > METADATA > gix_layername "A_region.shp" > gix_layerfieldnames "NAMA_KEC|ID|DEMAND|LUAS_KM2" > gix_layerfieldalias "Nama_kec|Id|Demand|Luas_km2" > END #METADATA > TOLERANCE 3 > TOLERANCEUNITS pixels > DATA 'a_region.shp' > HEADER 'header.html' > FOOTER 'footer.html' > LABELCACHE on > # TILEINDEX '' > # TILEITEM '' > STATUS on > DEBUG false > TRANSFORM true > TYPE polygon > CLASSITEM 'NAMA_KEC' > CLASS > NAME 'Andir' > TEMPLATE 'template.html' > EXPRESSION 'Andir' > #RASTERFILL_STYLE_SOLID > STYLE > COLOR 192 101 73 > BACKGROUNDCOLOR 255 255 255 > END #STYLE > END #CLASS > CLASS > NAME 'Arca Manik' > TEMPLATE 'template.html' > EXPRESSION 'Arca Manik' > #RASTERFILL_STYLE_SOLID > STYLE > COLOR 255 215 0 > BACKGROUNDCOLOR 255 255 255 > END #STYLE > END #CLASS > CLASS > NAME 'Astana Anyar' > TEMPLATE 'template.html' > EXPRESSION 'Astana Anyar' > #RASTERFILL_STYLE_SOLID > STYLE > COLOR 189 183 107 > BACKGROUNDCOLOR 255 255 255 > END #STYLE > END #CLASS > END #LAYER > > OUTPUTFORMAT > NAME png24 > DRIVER "GD/PNG" > MIMETYPE "image/png" > IMAGEMODE RGBA > EXTENSION png > TRANSPARENT on > END #OUTPUTFORMAT > > END #MAP Hello, You are missing a template file, which you refer to in the WEB object of your mapfile, such as: WEB ... TEMPLATE "../htdocs/viewer-template.html" ... END If you want to see this in action, download the MS4W addon package "MapServer Itasca Demo Application" from the MS4W downloads page. -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 Pemerintahan yang jujur & bersih? Mungkin nggak ya? Temukan jawabannya di Yahoo! Answers! _______________________________________________ MS4W-Users mailing list MS4W-Users@... http://lists.maptools.org/mailman/listinfo/ms4w-users |
|
|
about ogr2ogri can't convert shp file to mysql, C:\ms4w>ogr2ogr -f MySQL MySQL:a,user=root,password= -lco GEOMETRT_NAME=SHAPE c:\ms4w\apache\htdocs\trial\peta_tab\a\a_region.shp ERROR 1: MySQL error message:The used table type doesn't support SPATIAL indexes Description: ALTER TABLE `a_region` ADD SPATIAL INDEX(`SHAPE`) ERROR 1: Terminating translation prematurely after failed translation of layer a_region (use -skipfailures to skip errors) i don't have any clue about that. Akses email lebih cepat. Yahoo! menyarankan Anda meng-upgrade browser ke Internet Explorer 8 baru yang dioptimalkan untuk Yahoo! Dapatkan di sini! (Gratis) _______________________________________________ MS4W-Users mailing list MS4W-Users@... http://lists.maptools.org/mailman/listinfo/ms4w-users |
|
|
Re: about ogr2ogrRangga Negara wrote:
> > > > i can't convert shp file to mysql, > > C:\ms4w>ogr2ogr -f MySQL MySQL:a,user=root,password= -lco > GEOMETRT_NAME=SHAPE c:\ms4w\apache\htdocs\trial\peta_tab\a\a_region.shp > > ERROR 1: MySQL error message:The used table type doesn't support SPATIAL > indexes > Description: ALTER TABLE `a_region` ADD SPATIAL INDEX(`SHAPE`) > ERROR 1: Terminating translation prematurely after failed > translation of layer a_region (use -skipfailures to skip errors) > > i don't have any clue about that. > I don't really know, but I would read the MySQL OGR driver page (http://www.gdal.org/ogr/drv_mysql.html)...which mentions the spatial index and creation options. -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 |
| Free embeddable forum powered by Nabble | Forum Help |