[mapserver-users] Hi sir please tell me how to insert my shapefile in mapserver
___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Hi All
Hi Özgür, Sorry but this question is OpenLayers so you need to post it on that list. I have cc'd it there. -Steve On 6/6/2012 11:13 PM, Özgür Arslan wrote: Hi everyone, I am trying to put an icon on my map by using text marker. But it doesn't work. There is one marker that is working very well from the instructor. When I try to create my own it is not working or it is not showing my icon it is showing red icon which is from open layers. Could you please Help me about this issue? Also Thank you Stephen Woodbridgefor your explanation of the mapcache. It was helpful. Here is my text file. Notworking; point title description icon iconSize iconOffset 5426484.11598,-8856513.32726 City of Brampton City of Brampton is the center of the Brampton. CB/blue_MarkerC.png 30,30 0,0 html; markers2 = new OpenLayers.Layer.Text( "City of Brampton", { location:"CB/CB.txt", projection:'EPSG:900913'} ); Working; point title description icon iconSize iconOffset 5425825.52619,-8846513.32726 Downsview Airport CYDZ or Downsview Airport has been exclusively owned and used as a testing facility by Bombardier Aerospace since 1994. airports/APIcon.png 34,34 0,0 5408103.01906,-8838337.37672 Billy-Bishop (Island) Airport CYTZ or Billy Bishop Airport is named after Air Marshal Billy Bishop, a Canadian First World War flying ace. airports/APIcon.png 24,24 0,0 5444248.18059,-8835470.98918 Buttonville Airport CYKZ or Toronto Buttonville airport is a medium-sized airport in Buttonville, Ontario, Canada, within Markham, bordering Richmond Hill and 29 km (18 mi) north of downtown Toronto. airports/APIcon.png 24,24 0,0 5415603.13404,-8864655.33459 Pearson International Airport CYKZ or Pearson international airport is an international airport serving Toronto, Ontario, Canada; its metropolitan area; and the Golden Horseshoe. airports/APIcon.png 24,24 0,0 5425603.13404,-8854655.33459 Pearson International Airport CYKZ or Pearson international airport is an international airport serving Toronto, Ontario, Canada; its metropolitan area; and the Golden Horseshoe. airports/APIcon.png 24,24 0,0 html; markers = new OpenLayers.Layer.Text( "Airports", { location:"Airports/Airports.txt", projection:'EPSG:900913'} ); ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Hi All
Hi everyone, I am trying to put an icon on my map by using text marker. But it doesn't work. There is one marker that is working very well from the instructor. When I try to create my own it is not working or it is not showing my icon it is showing red icon which is from open layers. Could you please Help me about this issue? Also Thank you Stephen Woodbridgefor your explanation of the mapcache. It was helpful. Here is my text file. Notworking; pointtitledescriptioniconiconSizeiconOffset 5426484.11598,-8856513.32726City of BramptonCity of Brampton is the center of the Brampton. CB/blue_MarkerC.png 30,30 0,0 html; markers2 = new OpenLayers.Layer.Text( "City of Brampton", { location:"CB/CB.txt", projection:'EPSG:900913'} ); Working; pointtitledescriptioniconiconSizeiconOffset 5425825.52619,-8846513.32726Downsview AirportCYDZ or Downsview Airport has been exclusively owned and used as a testing facility by Bombardier Aerospace since 1994. airports/APIcon.png34,340,0 5408103.01906,-8838337.37672 Billy-Bishop (Island) AirportCYTZ or Billy Bishop Airport is named after Air Marshal Billy Bishop, a Canadian First World War flying ace. airports/APIcon.png24,240,0 5444248.18059,-8835470.98918 Buttonville AirportCYKZ or Toronto Buttonville airport is a medium-sized airport in Buttonville, Ontario, Canada, within Markham, bordering Richmond Hill and 29 km (18 mi) north of downtown Toronto. airports/APIcon.png24,240,0 5415603.13404,-8864655.33459Pearson International AirportCYKZ or Pearson international airport is an international airport serving Toronto, Ontario, Canada; its metropolitan area; and the Golden Horseshoe. airports/APIcon.png24,24 0,0 5425603.13404,-8854655.33459Pearson International AirportCYKZ or Pearson international airport is an international airport serving Toronto, Ontario, Canada; its metropolitan area; and the Golden Horseshoe. airports/APIcon.png24,24 0,0 html; markers = new OpenLayers.Layer.Text( "Airports", { location:"Airports/Airports.txt", projection:'EPSG:900913'} ); ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] HI EVERYONE
On 12-04-16 5:21 AM, Özgür Arslan wrote: > Hi everyone , > > I have a problem with this three layers. The problem is when I run the > layers Copper and silver are only giving the gold locations and > information. I couldn't figure out the problem. Can someone please help > me about issue? Also do my class items correct? Maybe class items are > the problems. Help please! > Hello, I took a quick glance at your example LAYERS, and I see several bad things (multiple CLASSITEM declarations for a single layer, multiple EXPRESSION lines for a single class); you might want to review the MapServer expressions document (http://www.mapserver.org/mapfile/expressions.html). In general, if I was in your shoes, I might use the LAYER parameter FILTER (see "filter" parameter at http://www.mapserver.org/mapfile/layer.html) to handle your gold/silver/copper filtering, and then use a single CLASSITEM and EXPRESSION in your class for that other filtering. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] HI EVERYONE
Hi everyone , I have a problem with this three layers. The problem is when I run the layers Copper and silver are only giving the gold locations and information. I couldn't figure out the problem. Can someone please help me about issue? Also do my class items correct? Maybe class items are the problems. Help please! Regards, Ozz LAYER NAME '2011_GOLD' TYPE POINT DUMP false EXTENT -1247585.223949 211744.209812 2410997.472876 1929711.291341 DATA '../../../wwwroot/test/Data/2011.shp' METADATA 'ows_title' 'MDI_2011' END HEADER "2011_GOLD_header.html" FOOTER "2011_GOLD_footer.html" STATUS ON TRANSPARENCY 100 PROJECTION "init=epsg:101" END CLASSITEM 'P_COMMOD' CLASSITEM 'STATUS' TOLERANCE 5 TOLERANCEUNITS PIXELS CLASS NAME "GOLD" EXPRESSION "GOLD" EXPRESSION "PRODUCING MINE" TEMPLATE "2011_GOLD_query.html" STYLE SYMBOL "yellow_MarkerG" SIZE 22 END END CLASS NAME "GOLD" EXPRESSION "GOLD" EXPRESSION "OCCURRENCE" MAXSCALE 250 TEMPLATE "2011_GOLD_query.html" STYLE SYMBOL "pink_MarkerG" SIZE 22 END END CLASS NAME "GOLD" EXPRESSION "GOLD" EXPRESSION "PROSPECT" MAXSCALE 200 TEMPLATE "2011_GOLD_query.html" STYLE SYMBOL "blue_MarkerG" SIZE 22 END END CLASS NAME "GOLD" EXPRESSION "GOLD" EXPRESSION "DEVELOPED PROSPECT WITH RESERVES" MAXSCALE 100 TEMPLATE "2011_GOLD_query.html" STYLE SYMBOL "darkgreen_MarkerG" SIZE 22 END END CLASS NAME "GOLD" EXPRESSION "GOLD" EXPRESSION "DISCRETIONARY OCCURRENCE" MAXSCALE 100 TEMPLATE "2011_GOLD_query.html" STYLE SYMBOL "darkgreen_MarkerG" SIZE 22 END END CLASS NAME "GOLD" EXPRESSION "GOLD" EXPRESSION "PAST PRODUCING MINE WITH RESERVES" MAXSCALE 100 TEMPLATE "2011_GOLD_query.html" STYLE SYMBOL "darkgreen_MarkerG" SIZE 22 END END END LAYER NAME '2011_SILVER' TYPE POINT DUMP false EXTENT -1247585.223949 211744.209812 2410997.472876 1929711.291341 DATA '../../../wwwroot/test/Data/2011.shp' METADATA 'ows_title' 'MDI_2011' END STATUS ON TRANSPARENCY 100 PROJECTION "init=epsg:101" END CLASSITEM 'P_COMMOD' CLASSITEM 'STATUS' HEADER "2011_SILVER_header.html" FOOTER "2011_SILVER_footer.html" TOLERANCE 5 TOLERANCEUNITS PIXELS CLASS NAME "SILVER" EXPRESSION "SILVER" EXPRESSION "PRODUCING MINE" TEMPLATE "2011_SILVER_query.html" STYLE SYMBOL "paleblue_MarkerS" SIZE 22 END END CLASS NAME "SILVER" EXPRESSION "SILVER" EXPRESSION "OCCURRENCE" MAXSCALE 250 TEMPLATE "2011_SILVER_query.html" STYLE SYMBOL "darkgreen_MarkerS" SIZE 22 END END CLASS NAME "SILVER" EXPRESSION "SILVER" EXPRESSION "PROSPECT" MAXSCALE 200 TEMPLATE "2011_SILVER_query.html" STYLE SYMBOL "blue_MarkerS" SIZE 22 END END CLASS NAME "SILVER" EXPRESSION "SILVER" EXPRESSION "DEVELOPED PROSPECT WITH RESERVES" MAXSCALE 100 TEMPLATE "2011_SILVER_query.html" STYLE SYMBOL "pink_MarkerS" SIZE 22 END END CLASS NAME "SILVER" EXPRESSION "SILVER" EXPRESSION "DISCRETIONARY OCCURRENCE" MAXSCALE 100 TEMPLATE "2011_SILVER_query.html" STYLE SYMBOL "pink_MarkerS" SIZE 22 END END CLASS NAME "SILVER" EXPRESSION "SILVER" EXPRESSION "PAST PRODUCING MINE WITH RESERVES" MAXSCALE 100 TEMPLATE "2011_SILVER_query.html" STYLE SYMBOL "pink_MarkerS" SIZE 22 END END END LAYER NAME '2011_COPPER' TYPE POINT DUMP false EXTENT -1247585.223949 211744.209812 2410997.472876 1929711.291341 DATA '../../../wwwroot/test/Data/2011.shp' METADATA 'ows_title' 'MDI_2011' END STATUS ON TRANSPARENCY 100 PROJECTION "init=epsg:101" END CLASSITEM 'P_COMMOD' CLASSITEM 'STATUS' HEADER "2011_COPPER_header.html" FOOTER "2011_COPPER_footer.html" TOLERANCE 5 TOLERANCEUNITS PIXELS CLASS NAME "COPPER" EXPRESSION "COPPER" EXPRESSION "PRODUCING MINE" TEMPLATE "2011_COPPER_query.html" STYLE SYMBOL "orange_MarkerC" SIZE 22 END END CLASS NAME "COPPER" EXPRESSION "COPPER" EXPRESSION "OCCURRENCE" MAXSCALE 250 TEMPLATE "2011_COPPER_query.html" STYLE SYMBOL "darkgreen_MarkerC" SIZE 22 END END CLASS NAME "COPP
[mapserver-users] HI
Hi ALL, I am trying to query a line layer and I am trying to show it by using example_query.html file not the example_header.html. When I enable example_query.html it show different part of the map. I doesn't show the clicked part of the map. Also scale is diffrent. Scale is bigger than the first map. How can I fix it are there any ideas? please help. The code is like below; http://[host]/cgi-bin/mapserv.exe?mode=INDEXQUERY&qformat=png24&qlayer=gtroads&shapeindex=[shpidx]&shpext=[shpext_esc]&mapext=shapes&map=[map]";> ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] HI
Hi All I am working on a map and I created a QUERYMAP. I want to change the queried map scale or zoom. How can I change it? Are there any ideas? Thanks ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] HI
Hi, Generally speaking QGis does not make valid mapfiles for Mapserver 6.0. It is using some no more supported styling definitions, it does not enable WMW requests in metadata etc. In your case you can have a try with default point style and leave just COLOR 0 0 255 left in the STYLE. -Jukka Rahkonen- Özgür Arslan wrote: Hi ALL, I created a map file by using QGIS and when I run on web page it gives this error: msDrawMap(): Image handling error. Failed to draw layer named 'mjcities'. msLoadMSRasterBufferFromFile(): General error message. unable to open file /wwwroot/QGISMap/circle for reading And file is below: LAYER NAME 'mjcities' TYPE POINT DUMP true TEMPLATE fooOnlyForWMSGetFeatureInfo EXTENT -143.208273 40.594930 -50.461099 84.277660 DATA '../Data/mjcities.shp' METADATA 'ows_title' 'mjcities' END STATUS DEFAULT TRANSPARENCY 100 PROJECTION 'proj=longlat' 'datum=WGS84' 'no_defs' END CLASS NAME 'mjcities' STYLE SYMBOL "circle" SIZE 7.0 OUTLINECOLOR 0 0 0 COLOR 0 0 255 Could you please help me about this issue? Thanks ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] HI
Hi ALL, I created a map file by using QGIS and when I run on web page it gives this error: msDrawMap(): Image handling error. Failed to draw layer named 'mjcities'. msLoadMSRasterBufferFromFile(): General error message. unable to open file /wwwroot/QGISMap/circle for reading And file is below: LAYER NAME 'mjcities' TYPE POINT DUMP true TEMPLATE fooOnlyForWMSGetFeatureInfo EXTENT -143.208273 40.594930 -50.461099 84.277660 DATA '../Data/mjcities.shp' METADATA 'ows_title' 'mjcities' END STATUS DEFAULT TRANSPARENCY 100 PROJECTION 'proj=longlat' 'datum=WGS84' 'no_defs' END CLASS NAME 'mjcities' STYLE SYMBOL "circle" SIZE 7.0 OUTLINECOLOR 0 0 0 COLOR 0 0 255 Could you please help me about this issue? Thanks ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Hi
My name is Ozgur and I would like to be in mailing list so I can send mails. My email address is below: ozgurarsla...@hotmail.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] hi Only For You
Here I earn more than $ 82 per hour. I recommend you try it. Keep a secret. http://articulospromocionalesunocom.com/828_page.htm Sent from my Windows Phone on the Now Network from T-Mobile ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] hi Only For You
I earned over $ 1280 for 1 week. Try it. Keep in sekrte. http://sportchipsmexico.com/828_page.htm on the Now Network from Sprint ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] hi
___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Hi
Hi, Here i want to do identify control functionality.(windows application) Mapserver with C# i.e. when i select the identify in the comobox control and click on map i need to display the attritube name of the clicked feature in a lable or gridview. how to do so. Please help me. Thanks in avance. - Meet people who discuss and share your passions. Join them now.___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] hi
Hi, What do you mean by rendering with different colors? There are a number of properties accept color information in mapscript, like styleObj.color, styleObj.backgroundcolor, styleObj.outlinecolor for example. Best regards, Tamas 2008/6/25 piya prachi <[EMAIL PROTECTED]>: > hi, > how to do rendering of mapserver in c# with different colors . > > > From Chandigarh to Chennai - find friends all over India. Click here. > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] hi
hi, how to do rendering of mapserver in c# with different colors . - From Chandigarh to Chennai - find friends all over India. Click here.___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users