[Geomoose-users] Geomoose2 map rendering

Brian Fischer bfischer at houstoneng.com
Fri Oct 16 09:38:48 EDT 2009


Franz,
This is a tough question to answer because there can be a lot of different factors that determine the speed of a mapping application.  Here are some ideas:

-          Hardware plays a big role in performance.

-          Optimizing your MapServer mapfiles and data sources so they perform the best they can.  This may include creating spatial indexes on your data or tiling your raster data.  Here's a good MapServer document on the subject http://mapserver.org/optimization/index.html#optimization

-          Another thing we still have not added to GeoMOOSE, due to lack of funding or a developer contribution is support Tilecache layer types.  Tilecache would allow you to create a mapcache of your images.  Similar to what you can do with ArcGIS server and google maps.  You can read more about Tilecache at http://tilecache.org/.
I hope this helps.

Brian Fischer, CFM  GIS Project Manager
Houston Engineering, Inc.
Phone: W: 763.493.4522 / M: 763.229.2734

From: FRANZ OKYERE [mailto:franzzoa at hotmail.com]
Sent: Thursday, October 15, 2009 11:43 PM
To: geomoose-users at lists.sourceforge.net
Subject: [Geomoose-users] Geomoose2 map rendering

I'll like to thank you guys for the help so far. My app is taking form with every contribution. Nonetheless, I have one query. How can I minimise the time taken for geomoose to render a page? Looks like it needs to reload everytime I pan the map or zoom in/out. Is there something I could do to make it render faster or ? Thanks a lot. Franz. GIS specialist.
________________________________
Date: Wed, 14 Oct 2009 10:00:04 -0500
From: JJohnson at ci.blaine.mn.us
To: bfraser at geoanalytic.com
CC: geomoose-users at lists.sourceforge.net
Subject: Re: [Geomoose-users] Raster Imagery
Thank you to everyone for thoughts and ideas.  I took Brent's suggestions and ran GDALINFO on the dataset and received an error.  For some reason it could not find the "BitsPerSample" field in the data.  So, I basically started over from scratch.

I created the raster set in Spatial Analyst and then decided to save the file out to a new file, but this time in UTM.  I also rendered the dataset so each pixel was given an value from 0 - 255.  I then created a World file, based on the UTM values, on Dan's suggestion.

I have attached a copy of my .MAP file and PDF view of how the dataset looks.

Thanks again to everyone for your help.


Jeremy Johnson, GISP
City of Blaine
-----Original Message-----
From: Brent Fraser [mailto:bfraser at geoanalytic.com]
Sent: Tuesday, October 13, 2009 4:12 PM
To: Johnson, Jeremy
Cc: geomoose-users at lists.sourceforge.net
Subject: RE: [Geomoose-users] Raster Imagery

Jeremy,

  Sorry, I should have said gdalinfo (ogrinfo is only for vector formats).
 Could you try:
    gdalinfo /ms4w/data/All_Crimes_Density1.tif

Thanks!
Brent


> The "init=epsg:99999" is a custom projection for Anoka County
> Coordinates that I added to the epsg file.
>
> When I do the ogrinfo command, I get the following:
> FAILURE:  Unable to open the datasource
> '/ms4/data/all_crimes_density1.tif' with the following drivers.
> ->ESRI Shapefile
> ->Mapinfo File
> ->UK .NTF
> ->SDTS
> ->Tiger
> ->S57
> ->DGN
> ->VRT
> ->REC
> ->MEMORY
> ->BNA
> ->CSV
> ->GML
> ->GPX
> ->KML
> ->GEOJSON
> ->GMT
> ->SQLITE
> ->ODBC
> ->PGEO
> ->POSTGRESQL
> ->MYSQL
> ->AVCBIN
>
> I also did the same on the SID files I have in the same directory that I
> show up just fine, and I received the same error
>
>
> Jeremy Johnson, GISP
> City of Blaine
>
> -----Original Message-----
> From: Brent Fraser [mailto:bfraser at geoanalytic.com]
> Sent: Tuesday, October 13, 2009 3:03 PM
> To: Johnson, Jeremy
> Cc: geomoose-users at lists.sourceforge.net
> Subject: Re: [Geomoose-users] Raster Imagery
>
> That  "init=epsg:99999" doesn't look right.  Can you do a ogrinfo on the
> command line:
>
> ogrinfo /ms4w/data/All_Crimes_Density1.tif
>
> Best Regards,
> Brent Fraser
>
>> Nope.  That wasn't it. And yes, I am on 1.6.
>>
>>
>>
>> Jeremy Johnson, GISP
>>
>> City of Blaine
>>
>> ________________________________
>>
>> From: Dan Little [mailto:danlittle at yahoo.com]
>> Sent: Tuesday, October 13, 2009 2:28 PM
>> To: Johnson, Jeremy; geomoose-users at lists.sourceforge.net
>> Subject: Re: [Geomoose-users] Raster Imagery
>>
>>
>>
>> If this is GeoMOOSE 1.6.X change STATUS to DEFAULT.
>>
>>
>>
>>    From: "Johnson, Jeremy" <JJohnson at ci.blaine.mn.us>
>>    To: geomoose-users at lists.sourceforge.net
>>    Sent: Tue, October 13, 2009 1:43:06 PM
>>    Subject: [Geomoose-users] Raster Imagery
>>
>>    I have created a crime density raster with Spatial Analyst and I
>> want to have it display in Geomoose.  However, when I add it to my map
>> and turn it on, it is just white.  I have attached a PDF showing my
>> dilemma and a copy of the mapfile.  Any thoughts would be appreciated.
>>
>>
>>
>>    PS - I purposely put the call to the map file under the street
>> centerline and above everything else to show what happens when the
> layer
>> is activated.
>>
>>
>>
>>    MAP
>>
>>          NAME 'crimedensity'
>>
>>          EXTENT  474400 4995000 494000 5007000
>>
>>          UNITS METERS
>>
>>          FONTSET '../fonts/fontset.list'
>>
>>          SYMBOLSET '../symbols/symbol.sym'
>>
>>          RESOLUTION 96
>>
>>          IMAGETYPE png
>>
>>          INTERLACE OFF
>>
>>          PROJECTION
>>
>>            "init=epsg:26915"
>>
>>          END
>>
>>
>>
>>          QUERYMAP
>>
>>                STATUS ON
>>
>>                STYLE SELECTED
>>
>>          END
>>
>>
>>
>>          WEB
>>
>>                  INCLUDE "../temp_directory.map"
>>
>>          END
>>
>>
>>
>>
>>
>>    LAYER
>>
>>      NAME crimedensity
>>
>>      DATA '/ms4w/data/All_Crimes_Density1.tif'
>>
>>      TYPE raster
>>
>>      STATUS ON
>>
>>      PROCESSING "BANDS=1,2,3"
>>
>>          PROJECTION
>>
>>              "init=epsg:99999"
>>
>>          END #PROJECTION
>>
>>    END #LAYER
>>
>>
>>
>>
>>
>>    END  #Map
>>
>>
>>
>>    Jeremy Johnson, GISP
>>
>>    G.I.S. Coordinator
>>
>>    City of Blaine
>>
>>    10801 Town Square Dr Ne
>>
>>    Blaine, MN   55449
>>
>>    (763) 717-2639
>>
>>
>>
>>
>>
>>
>>
>>
>>
> ------------------------------------------------------------------------
> ------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart
> your
>> developing skills, take BlackBerry mobile applications to market and
> stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geomoose-users
>>
>>
>
>
>



________________________________
Download Messenger onto your mobile for free. Learn more.<http://clk.atdmt.com/UKM/go/174426567/direct/01/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20091016/f57def7c/attachment.html


More information about the Geomoose-users mailing list