how to create wmts service in mapserver from dgn files

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to create wmts service in mapserver from dgn files

alirezaamireee
Dear MapServer User Support
I have a problem in making wmts services of dgn files using mapserver. Already, I could create WMS service of my dgn file. The whole activities were 1- copy two files (MapFile06_wms.map & bandar_torkman_j84.dgn) in C:\ms4w\Apache\htdocs and 2- modify the MapFile06_wms.map as follows:
MAP
  NAME "Prvi_WMS"
    EXTENT 236099 4083265 239430 4090361
        PROJECTION
       "init=epsg:32640"
    END  
        UNITS METERS
        STATUS ON
    SIZE 255 255
        IMAGETYPE PNG
   
   WEB
  IMAGEPATH "D:/ms4w3/ms4w/tmp/ms_tmp/"
    IMAGEURL "/ms_tmp/"
    METADATA
      "wms_title" "My Global Map WMS Server"
      "wms_onlineresource" "http://10.10.3.169:80/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/MapFile06_wmts.map&"
      "wms_enable_request" "*"
      WMS_SRS "EPSG:32640"
    END
  END
 
 LAYER
    NAME dgn
    TYPE LINE
    STATUS ON
    CONNECTIONTYPE OGR
    CONNECTION "bandar_torkman_j84.dgn"
        DEBUG ON
        TOLERANCE 10
        STYLEITEM "AUTO"
    CLASS
    END
    METADATA
      "wms_title" "نقشه سهر بندرشترکمن"
      "wms_onlineresource" "http://10.10.3.169:80/cgi-bin/mapserv.exe?mode=map&map=C:/ms4w/Apache/htdocs/MapFile06_wmts.map&"
      WMS_SRS "EPSG:32640"
      "wms_enable_request" "*"
    END
  END
 
 
  LAYER

    NAME dgn1
    TYPE POLYGON
    STATUS ON
    CONNECTIONTYPE OGR
    CONNECTION "bandar_torkman_j84.dgn"
        DEBUG ON
        TOLERANCE 10
        STYLEITEM "AUTO"
    CLASS
    END
    METADATA
      "wms_title" "نقشه سهر بندر ترکمن"
      "wms_onlineresource" "http://10.10.3.169:80/cgi-bin/mapserv.exe?mode=map&map=C:/ms4w/Apache/htdocs/MapFile06_wmts.map&"
      WMS_SRS "EPSG:32640"
      "wms_enable_request" "*"
    END
  END
 
 
END
Finally, I visualized the wms service of this dgn file in gaia successfully.
But how can I visualize wmts service of this dgn file? is it needed to create tiles firstly?how?
Thank you.
Alireza Amiri
Reply | Threaded
Open this post in threaded view
|

Re: how to create wmts service in mapserver from dgn files

GregChapman
Hi,

This forum is for Nabble support only.

Try a search at: http://www.nabble.com/free-apps/page1.html for a forum for your question.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.